sysprof r415 - trunk



Author: ssp
Date: Sat Apr 26 08:47:29 2008
New Revision: 415
URL: http://svn.gnome.org/viewvc/sysprof?rev=415&view=rev

Log:
2008-04-26  Soren Sandmann <sandmann daimi au dk>

        * process.c (get_kernel_symbols): Don't leak kallsyms

        * sysprof.c (gather_widgets): Don't leak the GladeXML



Modified:
   trunk/ChangeLog
   trunk/TODO
   trunk/process.c
   trunk/sysprof.c

Modified: trunk/TODO
==============================================================================
--- trunk/TODO	(original)
+++ trunk/TODO	Sat Apr 26 08:47:29 2008
@@ -55,6 +55,8 @@
 
 * Make sure that labels look decent in case of "No Map" etc.
 
+* Find out why the samples label won't right adjust
+
 * Elf bugs:
 	- error handling for bin_parser is necessary.
 

Modified: trunk/process.c
==============================================================================
--- trunk/process.c	(original)
+++ trunk/process.c	Sat Apr 26 08:47:29 2008
@@ -588,6 +588,8 @@
 		    kernel_syms = NULL;
 		}
 	    }
+
+	    g_free (kallsyms);
 	}
 
 	if (!kernel_syms)

Modified: trunk/sysprof.c
==============================================================================
--- trunk/sysprof.c	(original)
+++ trunk/sysprof.c	Sat Apr 26 08:47:29 2008
@@ -1429,6 +1429,8 @@
 
 	g_assert (GTK_IS_WIDGET (*(GtkWidget **)info->location));
     }
+
+    g_object_unref (xml);
 }
 
 static void



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