From 13acd44e987b0a08053f7970232ce3ca3fcf4fd0 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 12 Apr 2001 17:22:54 +0000 Subject: Plug memory leaks. * providers/imap/camel-imap-message-cache.c (camel_imap_message_cache_remove): * camel-url.c (camel_url_to_string): Plug memory leaks. svn path=/trunk/; revision=9271 --- camel/providers/imap/camel-imap-message-cache.c | 1 + 1 file changed, 1 insertion(+) (limited to 'camel/providers/imap') diff --git a/camel/providers/imap/camel-imap-message-cache.c b/camel/providers/imap/camel-imap-message-cache.c index 474a2f2f80..cd96409515 100644 --- a/camel/providers/imap/camel-imap-message-cache.c +++ b/camel/providers/imap/camel-imap-message-cache.c @@ -263,6 +263,7 @@ camel_imap_message_cache_remove (CamelImapMessageCache *cache, const char *uid) key = subparts->pdata[i]; path = g_strdup_printf ("%s/%s", cache->path, key); unlink (path); + g_free (path); stream = g_hash_table_lookup (cache->parts, key); if (stream) { camel_object_unhook_event (stream, "finalize", -- cgit