aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/camel-data-cache.c2
-rw-r--r--camel/providers/pop3/camel-pop3-folder.c6
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;
}