Don't leak kallsyms

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


svn path=/trunk/; revision=415
This commit is contained in:
Soren Sandmann
2008-04-26 08:47:29 +00:00
committed by Søren Sandmann Pedersen
parent 3e465571bb
commit 1d1d5dd945
4 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,9 @@
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
2008-04-26 Soren Sandmann <sandmann@daimi.au.dk>
* sysprof.c (build_gui): Get rid of all calls to

2
TODO
View File

@ -55,6 +55,8 @@ Before 1.2:
* 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.

View File

@ -588,6 +588,8 @@ get_kernel_symbols (void)
kernel_syms = NULL;
}
}
g_free (kallsyms);
}
if (!kernel_syms)

View File

@ -1429,6 +1429,8 @@ gather_widgets (Application *app)
g_assert (GTK_IS_WIDGET (*(GtkWidget **)info->location));
}
g_object_unref (xml);
}
static void