diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-04-20 10:22:07 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-04-20 10:22:07 +0800 |
commit | 31c87215157fd3250414560d1d72a41d01253081 (patch) | |
tree | 7c37296e9731405710abd28f99fa43a17c75b7cb | |
parent | 3bda5b75e81de2febbdcafb5316ec805c018a91c (diff) | |
download | gsoc2013-evolution-31c87215157fd3250414560d1d72a41d01253081.tar.gz gsoc2013-evolution-31c87215157fd3250414560d1d72a41d01253081.tar.zst gsoc2013-evolution-31c87215157fd3250414560d1d72a41d01253081.zip |
Free the LIST pop3 command.
2002-04-19 Jeffrey Stedfast <fejj@ximian.com>
* 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
-rw-r--r-- | camel/ChangeLog | 5 | ||||
-rw-r--r-- | camel/camel-data-cache.c | 2 | ||||
-rw-r--r-- | 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 <fejj@ximian.com> + * 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; } |