From afdc8acc65f24b38879ec991b2e335a069633a4a Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Sun, 9 Sep 2001 18:24:15 +0000 Subject: Purify run. All small leaks. * e-shell-folder-commands.c (folder_selection_dialog_folder_selected_callback): Free the folder_command_data when destroying the dialog. * e-local-storage.c (remove_folder): Free physical_uri if we allocated it. * e-shortcuts-view.c (pop_up_right_click_menu_for_group): Unref the popup menu, don't destroy it. (destroy_group_cb): Free the question string. (rename_group_cb): Free the new_name. * e-shell-importer.c (create_plugin_menu): Free the list of importers. (get_iid_for_filetype): Likewise. (import_druid_finish): #ifdef out some g_strdups that are only used by other #ifdef'ed-out code. * e-shell-view.c: Make sure the keys in the uri_to_view hash get freed. * e-shell-folder-title-bar.c (set_title_bar_label_style): Unref the style after setting it on the widget. * e-shell-offline-handler.c (impl_destroy): free priv. * e-storage-set-view.c (tree_drag_data_received): Make sure target_type always gets freed. * e-shell-folder-creation-dialog.c (add_folder_types): Don't leak the type names. svn path=/trunk/; revision=12715 --- shell/ChangeLog | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'shell/ChangeLog') diff --git a/shell/ChangeLog b/shell/ChangeLog index 6f25ed4027..72fdc403b6 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,39 @@ +2001-09-09 Dan Winship + + Purify run. All small leaks. + + * e-shell-folder-commands.c + (folder_selection_dialog_folder_selected_callback): Free the + folder_command_data when destroying the dialog. + + * e-local-storage.c (remove_folder): Free physical_uri if we + allocated it. + + * e-shortcuts-view.c (pop_up_right_click_menu_for_group): Unref + the popup menu, don't destroy it. + (destroy_group_cb): Free the question string. + (rename_group_cb): Free the new_name. + + * e-shell-importer.c (create_plugin_menu): Free the list of + importers. + (get_iid_for_filetype): Likewise. + (import_druid_finish): #ifdef out some g_strdups that are only + used by other #ifdef'ed-out code. + + * e-shell-view.c: Make sure the keys in the uri_to_view hash get + freed. + + * e-shell-folder-title-bar.c (set_title_bar_label_style): Unref + the style after setting it on the widget. + + * e-shell-offline-handler.c (impl_destroy): free priv. + + * e-storage-set-view.c (tree_drag_data_received): Make sure + target_type always gets freed. + + * e-shell-folder-creation-dialog.c (add_folder_types): Don't leak + the type names. + 2001-09-07 Iain Holmes * e-shell-startup-wizard.c (prepare_importer_page): New design. -- cgit v1.2.3