aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-04-20 10:22:07 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-04-20 10:22:07 +0800
commit31c87215157fd3250414560d1d72a41d01253081 (patch)
tree7c37296e9731405710abd28f99fa43a17c75b7cb /camel/providers
parent3bda5b75e81de2febbdcafb5316ec805c018a91c (diff)
downloadgsoc2013-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
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/pop3/camel-pop3-folder.c6
1 files changed, 4 insertions, 2 deletions
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;
}