Patch: fix a camel_operation leak



Hello,

The attached patch removes the "**: Camel operation status stack non
empty:" warning introduced in 3767 and accuring when sync'ing a POP
account.

Regards,

-- 
Martin
Index: libtinymail-camel/camel-lite/camel/providers/pop3/camel-pop3-folder.c
===================================================================
--- libtinymail-camel/camel-lite/camel/providers/pop3/camel-pop3-folder.c	(révision 3813)
+++ libtinymail-camel/camel-lite/camel/providers/pop3/camel-pop3-folder.c	(copie de travail)
@@ -614,6 +614,7 @@
 		;
 
 	g_static_rec_mutex_unlock (pop3_store->eng_lock);
+	camel_operation_end (NULL);
 
 	if (i == -1) {
 		if (errno == EINTR)
Index: ChangeLog
===================================================================
--- ChangeLog	(révision 3813)
+++ ChangeLog	(copie de travail)
@@ -1,3 +1,10 @@
+2008-11-19  Martin Bonnin  <martinbonnin gmail com>
+
+	* libtinymail-camel/camel-lite/camel/providers/pop3/camel-pop3-folder.c:
+	Fix a camel_operation leak introduced in r3767. This had the side effect
+	of triggering a "**: Camel operation status stack non empty:" warning 
+	when trying to sync a POP account
+
 2008-11-19  Sergio Villar Senin  <svillar igalia com>
 
 	* libtinymail-camel/tny-camel-mime-part.c


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