From 31c87215157fd3250414560d1d72a41d01253081 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Sat, 20 Apr 2002 02:22:07 +0000 Subject: Free the LIST pop3 command. 2002-04-19 Jeffrey Stedfast * providers/pop3/camel-pop3-folder.c (pop3_refresh_info): Free the LIST pop3 command. * camel-data-cache.c (data_cache_finalise): Free the cdc->path. svn path=/trunk/; revision=16550 --- camel/ChangeLog | 5 +++++ camel/camel-data-cache.c | 2 ++ camel/providers/pop3/camel-pop3-folder.c | 6 ++++-- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/camel/ChangeLog b/camel/ChangeLog index a4ee868465..e1bfcec9e4 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,5 +1,10 @@ 2002-04-19 Jeffrey Stedfast + * providers/pop3/camel-pop3-folder.c (pop3_refresh_info): Free the + LIST pop3 command. + + * camel-data-cache.c (data_cache_finalise): Free the cdc->path. + * camel-multipart.c (write_to_stream): Don't g_return_val_if_fail here if the boundary is an empty string. See bug #23676 for details. The way I see it, we have 2 options: 1) leave this fix diff --git a/camel/camel-data-cache.c b/camel/camel-data-cache.c index 111076a5d8..9f44a89f5c 100644 --- a/camel/camel-data-cache.c +++ b/camel/camel-data-cache.c @@ -125,6 +125,8 @@ static void data_cache_finalise(CamelDataCache *cdc) g_mutex_free(p->lock); #endif g_free(p); + + g_free (cdc->path); } CamelType diff --git a/camel/providers/pop3/camel-pop3-folder.c b/camel/providers/pop3/camel-pop3-folder.c index 27fa98cfa1..f15b20dcb4 100644 --- a/camel/providers/pop3/camel-pop3-folder.c +++ b/camel/providers/pop3/camel-pop3-folder.c @@ -288,8 +288,10 @@ pop3_refresh_info (CamelFolder *folder, CamelException *ex) } /* TODO: check every id has a uid & commands returned OK too? */ - + /* Free any commands we created along the way */ + camel_pop3_engine_command_free (pop3_store->engine, pcl); + if (pop3_store->engine->capa & CAMEL_POP3_CAP_UIDL) { camel_pop3_engine_command_free(pop3_store->engine, pcu); } else { @@ -301,7 +303,7 @@ pop3_refresh_info (CamelFolder *folder, CamelException *ex) } } } - + camel_operation_end (NULL); return; } -- cgit v1.2.3