mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
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:
committed by
Søren Sandmann Pedersen
parent
fe134ed8a2
commit
81ad181667
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user