diff options
author | Dan Winship <danw@src.gnome.org> | 2001-09-10 02:24:15 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-09-10 02:24:15 +0800 |
commit | afdc8acc65f24b38879ec991b2e335a069633a4a (patch) | |
tree | 12bb5657372f9b57f837c86ed26a5ce655b4eb64 /shell/e-shell-importer.c | |
parent | 335bd912c0c00447801e0fa8baa8da16e9cef38a (diff) | |
download | gsoc2013-evolution-afdc8acc65f24b38879ec991b2e335a069633a4a.tar gsoc2013-evolution-afdc8acc65f24b38879ec991b2e335a069633a4a.tar.gz gsoc2013-evolution-afdc8acc65f24b38879ec991b2e335a069633a4a.tar.bz2 gsoc2013-evolution-afdc8acc65f24b38879ec991b2e335a069633a4a.tar.lz gsoc2013-evolution-afdc8acc65f24b38879ec991b2e335a069633a4a.tar.xz gsoc2013-evolution-afdc8acc65f24b38879ec991b2e335a069633a4a.tar.zst gsoc2013-evolution-afdc8acc65f24b38879ec991b2e335a069633a4a.zip |
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
Diffstat (limited to 'shell/e-shell-importer.c')
-rw-r--r-- | shell/e-shell-importer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/e-shell-importer.c b/shell/e-shell-importer.c index 0c82f91989..a22d44732b 100644 --- a/shell/e-shell-importer.c +++ b/shell/e-shell-importer.c @@ -312,6 +312,7 @@ get_iid_for_filetype (const char *filename) bonobo_object_release_unref (importer, &ev2); CORBA_exception_free (&ev2); } + CORBA_free (info_list); if (len == 1) { ret_iid = can_handle->data; @@ -530,6 +531,7 @@ create_plugin_menu (ImportData *data) g_strdup (info->iid), g_free); gtk_menu_append (GTK_MENU (menu), item); } + CORBA_free (info_list); return menu; } @@ -629,11 +631,13 @@ import_druid_finish (GnomeDruidPage *page, ImportData *data) { GtkWidget *folder; +#if 0 char *filename; char *iid; filename = g_strdup (gtk_entry_get_text (GTK_ENTRY (gnome_file_entry_gtk_entry (GNOME_FILE_ENTRY (data->filepage->filename))))); iid = g_strdup (data->choosen_iid); +#endif folder = e_shell_folder_selection_dialog_new (data->shell, _("Select folder"), |