From 8c4223b4c440d5b94eddaf0fe7bd8f1489186c2c Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 31 May 2002 21:40:07 +0000 Subject: Free the path buffer when we're done with it. 2002-05-31 Jeffrey Stedfast * providers/imap/camel-imap-message-cache.c (camel_imap_message_cache_get): Free the path buffer when we're done with it. * providers/imap/camel-imap-folder.c (imap_update_summary): Free the final tagged response buffer. svn path=/trunk/; revision=17065 --- camel/providers/imap/camel-imap-folder.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'camel/providers/imap/camel-imap-folder.c') diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c index 156111083a..76ceb5a796 100644 --- a/camel/providers/imap/camel-imap-folder.c +++ b/camel/providers/imap/camel-imap-folder.c @@ -1990,6 +1990,9 @@ imap_update_summary (CamelFolder *folder, int exists, if (type == CAMEL_IMAP_RESPONSE_ERROR) goto lose; + /* Free the final tagged response */ + g_free (resp); + /* Figure out which headers we still need to fetch. */ needheaders = g_ptr_array_new (); size = got = 0; -- cgit v1.2.3