From 3e7d1857888141e68e1804884f9730d2d87c0c1c Mon Sep 17 00:00:00 2001 From: Vivek Jain Date: Wed, 19 Jan 2005 13:17:28 +0000 Subject: *install-shared.c (org_gnome_popup_wizard): fixed a crash, caused by 2005-01-19 Vivek Jain *install-shared.c (org_gnome_popup_wizard): fixed a crash, caused by g_free (install_folder_response): free the memory svn path=/trunk/; revision=28448 --- plugins/shared-folder/ChangeLog | 5 +++++ plugins/shared-folder/install-shared.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/plugins/shared-folder/ChangeLog b/plugins/shared-folder/ChangeLog index 3f7b6fce92..21251ed6d9 100644 --- a/plugins/shared-folder/ChangeLog +++ b/plugins/shared-folder/ChangeLog @@ -1,3 +1,8 @@ +2005-01-19 Vivek Jain + *install-shared.c + (org_gnome_popup_wizard): fixed a crash, caused by g_free + (install_folder_response): free the memory + 2005-01-18 Vivek Jain *install-shared.c (org_gnome_popup_wizard): removed unnecessary stuff for the display of diff --git a/plugins/shared-folder/install-shared.c b/plugins/shared-folder/install-shared.c index 36c79fca6d..d92e926764 100644 --- a/plugins/shared-folder/install-shared.c +++ b/plugins/shared-folder/install-shared.c @@ -123,6 +123,8 @@ install_folder_response (EMFolderSelector *emfs, int response, gpointer *data) camel_object_unref (store); } } + + g_strfreev(names); gtk_widget_destroy ((GtkWidget *)emfs); } @@ -213,7 +215,6 @@ org_gnome_popup_wizard (EPlugin *ep, EMEventTargetMessage *target) g_warning ("Could not get the sender name"); g_free (buffer) ; - g_free (notification); g_free (start_message) ; } } -- cgit