aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.c
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/mail-config.c
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/mail-config.c')
-rw-r--r--mail/mail-config.c2
1 files changed, 2 insertions, 0 deletions
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;
}