Re: [evolution-patches] fix for the bug in 63504 (don't send imap commands after a disconnect)



 
@@ -2905,6 +2908,12 @@
 
 	return folders_out;
 fail:
+	while (p != NULL) {
+		q = p->next;
+		g_slist_free_1 (p);
+		p = q;
+	}
+	
Since we do no per-node processing, any reason not to just use g_slist_free?

Otherwise looks good.

--
Michael Zucchi <notzed ximian com>
"born to die, live to work, it's all downhill from here"
Novell's Evolution and Free Software Developer


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