[evolution-data-server] Bug 627854 - imapx conn-manager memory leak



commit d4386410d43f88f7cc3ea07a6c75daf1a7e35211
Author: Matthew Barnes <mbarnes redhat com>
Date:   Fri Aug 27 11:07:17 2010 -0400

    Bug 627854 - imapx conn-manager memory leak

 camel/providers/imapx/camel-imapx-conn-manager.c |    1 +
 camel/providers/imapx/camel-imapx-server.c       |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-conn-manager.c b/camel/providers/imapx/camel-imapx-conn-manager.c
index b4e4b86..6351c60 100644
--- a/camel/providers/imapx/camel-imapx-conn-manager.c
+++ b/camel/providers/imapx/camel-imapx-conn-manager.c
@@ -57,6 +57,7 @@ free_connection (gpointer data, gpointer user_data)
 
 	g_object_unref (conn);
 	g_hash_table_destroy (cinfo->folders);
+	g_free (cinfo->selected_folder);
 
 	g_free (cinfo);
 }
diff --git a/camel/providers/imapx/camel-imapx-server.c b/camel/providers/imapx/camel-imapx-server.c
index 55f5cf3..2e4ec78 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -4690,6 +4690,8 @@ imapx_server_finalize (GObject *object)
 {
 	CamelIMAPXServer *is = CAMEL_IMAPX_SERVER (object);
 
+	camel_url_free (is->url);
+
 	g_static_rec_mutex_free(&is->queue_lock);
 	g_static_rec_mutex_free (&is->ostream_lock);
 	g_hash_table_destroy (is->uid_eflags);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]