[gnome-system-monitor] Initialize all MemMapsData members.



commit 45e87896aa53c562aaf3bd3dcaf93a281ea81b08
Author: BenoƮt Dejean <bdejean gmail com>
Date:   Mon Apr 28 13:23:32 2014 +0200

    Initialize all MemMapsData members.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=742070

 src/memmaps.cpp |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/memmaps.cpp b/src/memmaps.cpp
index a25e147..0fa7aa9 100644
--- a/src/memmaps.cpp
+++ b/src/memmaps.cpp
@@ -129,7 +129,11 @@ namespace
         mutable InodeDevices devices;
 
         MemMapsData(GtkWidget *a_tree)
-            : tree(a_tree)
+            : timer(),
+              tree(a_tree),
+              info(NULL),
+              format(),
+              devices()
         {
             gsm_tree_view_load_state (GSM_TREE_VIEW (this->tree));
         }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]