aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/mail-config.c2
2 files changed, 9 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index f31c03bf5e..f3be267b5b 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,10 @@
+2008-12-16 Milan Crha <mcrha@redhat.com>
+
+ ** Part of fix for bug #552583
+
+ * mail-config.c: (mail_config_get_account_by_source_url),
+ (mail_config_get_account_by_transport_url): Do not leak.
+
2008-12-15 Milan Crha <mcrha@redhat.com>
** Fix for bug #564007
diff --git a/mail/mail-config.c b/mail/mail-config.c
index 9b8f77018e..42278be368 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -858,6 +858,7 @@ mail_config_get_account_by_source_url (const char *source_url)
}
g_object_unref (iter);
+ camel_url_free (url);
return account;
}
@@ -901,6 +902,7 @@ mail_config_get_account_by_transport_url (const char *transport_url)
}
g_object_unref (iter);
+ camel_url_free (url);
return account;
}