diff --git a/ChangeLog b/ChangeLog index 8710a596..8a16a196 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +Mon Oct 31 00:22:58 2005 Soeren Sandmann + + * sysprof.c (set_application_title): Use APPLICATION_NAME macro + + * sysprof.c (load_file): Don't leak the FileOpenData + + * TODO: updates + 2005-10-30 Soren Sandmann * configure.ac, Makefile.am: Don't link sysprof-text to gtk+. diff --git a/TODO b/TODO index 112d782a..72c78031 100644 --- a/TODO +++ b/TODO @@ -37,7 +37,7 @@ Before 1.2: "main"s are present, only one gets listed in the object list. - Numbers in caller view are completely screwed up. - It looks like it sometimes gets confused with similar but different - processess: Something like: + processes: Something like: process a spends 80% in foo() called from bar() process b spends 1% in foo() called from baz() we get reports of baz() using > 80% of the time. @@ -52,7 +52,7 @@ Before 1.2: - a more pragmatic approach might be to just walk the tree and save it. -- make stasckstash ref counted +- make stackstash ref counted - plug all the leaks - don't leak the presentation strings/objects diff --git a/sysprof.c b/sysprof.c index eccace15..96ea7301 100644 --- a/sysprof.c +++ b/sysprof.c @@ -271,7 +271,7 @@ set_application_title (Application *app, else { gtk_window_set_title (GTK_WINDOW (app->main_window), - "System Collector"); + APPLICATION_NAME); } } @@ -1331,6 +1331,8 @@ load_file (gpointer data) g_error_free (err); } + g_free (file_open_data); + return FALSE; } @@ -1351,7 +1353,6 @@ main (int argc, char **argv) if (argc > 1) { FileOpenData *file_open_data = g_new0 (FileOpenData, 1); - file_open_data->filename = argv[1]; file_open_data->app = app;