evolution r37369 - trunk/mail



Author: mcrha
Date: Wed Mar  4 18:29:26 2009
New Revision: 37369
URL: http://svn.gnome.org/viewvc/evolution?rev=37369&view=rev

Log:
2009-03-04  Milan Crha  <mcrha redhat com>

	* mail-ops.c: (empty_trash_exec): Do not unref NULL object.



Modified:
   trunk/mail/ChangeLog
   trunk/mail/mail-ops.c

Modified: trunk/mail/mail-ops.c
==============================================================================
--- trunk/mail/mail-ops.c	(original)
+++ trunk/mail/mail-ops.c	Wed Mar  4 18:29:26 2009
@@ -1756,10 +1756,10 @@
 		g_free (uri);
 	}
 
-	if (trash)
+	if (trash) {
 		camel_folder_expunge (trash, &m->base.ex);
-
-	camel_object_unref (trash);
+		camel_object_unref (trash);
+	}
 }
 
 static void



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