free the profile objects.

Mon Oct 31 21:36:37 2005  Søren Sandmann  <sandmann@redhat.com>

        * sysprof.c (fill_main_list): free the profile objects.

        * sysprof.c (struct Application): Remove unused variable.
This commit is contained in:
Søren Sandmann
2005-11-01 02:37:09 +00:00
committed by Søren Sandmann Pedersen
parent fe134ed8a2
commit 81ad181667
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
Mon Oct 31 21:36:37 2005 Søren Sandmann <sandmann@redhat.com>
* sysprof.c (fill_main_list): free the profile objects.
* sysprof.c (struct Application): Remove unused variable.
Mon Oct 31 00:22:58 2005 Soeren Sandmann <sandmann@redhat.com>
* sysprof.c (set_application_title): Use APPLICATION_NAME macro

2
TODO
View File

@ -15,6 +15,8 @@ Before 1.0.1:
Before 1.2:
* Handle time being set back in the RESET_DEAD_PERIOD code.
* Find out if the first sort order of a GtkTreeView column can be changed
programmatically.

View File

@ -74,7 +74,6 @@ struct Application
ProfileCaller * callers;
int timeout_id;
int generating_profile;
char * loaded_profile;
@ -442,6 +441,7 @@ fill_main_list (Application *app)
OBJECT_OBJECT, object->name,
-1);
}
g_list_foreach (objects, (GFunc)g_free, NULL);
g_list_free (objects);
sort_state = save_sort_state (app->object_view);
@ -1274,7 +1274,6 @@ build_gui (Application *app)
gtk_widget_show_all (app->main_window);
gtk_widget_hide (app->dummy_button);
/* Statusbar */
queue_show_samples (app);
return TRUE;