diff --git a/ChangeLog b/ChangeLog index 8a16a196..6a8611cd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Mon Oct 31 21:36:37 2005 Søren Sandmann + + * 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 * sysprof.c (set_application_title): Use APPLICATION_NAME macro diff --git a/TODO b/TODO index 898b6f9c..3b8b6441 100644 --- a/TODO +++ b/TODO @@ -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. diff --git a/sysprof.c b/sysprof.c index 96ea7301..8b915c36 100644 --- a/sysprof.c +++ b/sysprof.c @@ -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;