Permalink
Browse files

Make sure to initialize all pointers in LoggingItem's bare ctor

  • Loading branch information...
1 parent 8f3225c commit e74071cddc38e5b3f5b9d41dd71f27ec0763dd10 @Beirdo Beirdo committed Jun 19, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 mythtv/libs/libmythbase/logging.cpp
@@ -136,7 +136,8 @@ void loggingGetTimeStamp(qlonglong *epoch, uint *usec)
#endif
}
-LoggingItem::LoggingItem()
+LoggingItem::LoggingItem() : m_file(NULL), m_function(NULL), m_threadName(NULL),
+ m_appName(NULL), m_table(NULL), m_logFile(NULL)
{
}

0 comments on commit e74071c

Please sign in to comment.