evolution-data-server r8416 - trunk/camel



Author: mbarnes
Date: Thu Jan 24 12:15:28 2008
New Revision: 8416
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8416&view=rev

Log:
2008-01-24  Matthew Barnes  <mbarnes redhat com>

	* camel/camel-store.c (camel_store_get_folder):
	Call camel_object_bag_abort() before returning with an exception.



Modified:
   trunk/camel/ChangeLog
   trunk/camel/camel-store.c

Modified: trunk/camel/camel-store.c
==============================================================================
--- trunk/camel/camel-store.c	(original)
+++ trunk/camel/camel-store.c	Thu Jan 24 12:15:28 2008
@@ -251,7 +251,7 @@
 			camel_exception_setv (ex, CAMEL_EXCEPTION_SYSTEM,
 					      _("Cannot create folder `%s': folder exists"),
 					      folder_name);
-
+                        camel_object_bag_abort (store->folders, folder_name);
 			camel_object_unref (folder);
 			return NULL;
 		}



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