diff --git a/camel/providers/imapx/camel-imapx-store-summary.c b/camel/providers/imapx/camel-imapx-store-summary.c
index 1b75be7..69def14 100644
--- a/camel/providers/imapx/camel-imapx-store-summary.c
+++ b/camel/providers/imapx/camel-imapx-store-summary.c
@@ -279,6 +279,8 @@ camel_imapx_store_summary_add_from_full(CamelIMAPXStoreSummary *s, const gchar *
 		d(printf("  failed\n"));
 	}
 
+	g_free (pathu8);
+
 	return info;
 }
 
diff --git a/camel/providers/imapx/camel-imapx-store.c b/camel/providers/imapx/camel-imapx-store.c
index ebdbb23..fa8e27f 100644
--- a/camel/providers/imapx/camel-imapx-store.c
+++ b/camel/providers/imapx/camel-imapx-store.c
@@ -136,6 +136,9 @@ imapx_store_finalize (GObject *object)
 
 	g_free (imapx_store->base_url);
 
+	if (imapx_store->summary)
+		g_object_unref (imapx_store->summary);
+
 	/* Chain up to parent's finalize() method. */
 	G_OBJECT_CLASS (camel_imapx_store_parent_class)->finalize (object);
 }
@@ -168,6 +171,8 @@ imapx_construct(CamelService *service, CamelSession *session, CamelProvider *pro
 	camel_store_summary_set_uri_base((CamelStoreSummary *)store->summary, service->url);
 	camel_store_summary_load((CamelStoreSummary *)store->summary);
 
+	g_free (summary);
+
 	return TRUE;
 }
 
