aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2008-12-16 20:28:46 +0800
committerMilan Crha <mcrha@src.gnome.org>2008-12-16 20:28:46 +0800
commitf4899e740e50880f389276ea3941fb02da12e6c3 (patch)
tree4972097be034d53e12a43dd662700efa79ff5be4 /mail
parent40082bdc4011d04b96a37d36b21f70eb938d1c31 (diff)
downloadgsoc2013-evolution-f4899e740e50880f389276ea3941fb02da12e6c3.tar.gz
gsoc2013-evolution-f4899e740e50880f389276ea3941fb02da12e6c3.tar.zst
gsoc2013-evolution-f4899e740e50880f389276ea3941fb02da12e6c3.zip
** Part of fix for bug #552583
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. svn path=/trunk/; revision=36903
Diffstat (limited to 'mail')
-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;
}