[evolution-patches] Evolution - mail, fixes a multiple free in folder ops.



Hi,

Attached patch fixes a multiple free in popping
a error dialog and destroying it, in folder
delete operation.

Please review it.

Thanks,
Arunprakash.



Index: mail/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/mail/ChangeLog,v
retrieving revision 1.3664
diff -u -p -r1.3664 ChangeLog
--- mail/ChangeLog	28 Jul 2005 06:45:05 -0000	1.3664
+++ mail/ChangeLog	28 Jul 2005 15:42:15 -0000
@@ -1,3 +1,8 @@
+2005-07-28  Arunprakash <arunp novell com>
+
+	* mail/em-folder-utils.c (emfu_delete_response) : Steals the data
+	of the error dialog before being destroyed, which is not its own.
+	
 2005-07-28  Praveen Kumar <kpraveen novell com>
 
 	* em-account-editor.c (emae_check_complete) : Update the "Full Name" 
Index: mail/em-folder-utils.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/em-folder-utils.c,v
retrieving revision 1.4
diff -u -p -r1.4 em-folder-utils.c
--- mail/em-folder-utils.c	21 Jul 2005 04:15:21 -0000	1.4
+++ mail/em-folder-utils.c	28 Jul 2005 15:42:16 -0000
@@ -458,6 +458,8 @@ emfu_delete_response (GtkWidget *dialog,
 			camel_exception_clear (&ex);
 		}
 	}
+
+	g_object_steal_data ((GObject *) dialog, "full_name");
 	
 	gtk_widget_destroy (dialog);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]