From ef8832bb8035edaad77749413afc110e9b8ea01e Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Wed, 4 Jan 2012 14:53:21 +0100 Subject: Bug #665036 - Memory leaks spot in Contacts view --- addressbook/gui/contact-editor/e-contact-editor.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'addressbook/gui/contact-editor/e-contact-editor.c') diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index d1494ff366..bd7daf5258 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/contact-editor/e-contact-editor.c @@ -1119,6 +1119,8 @@ fill_in_email (EContactEditor *editor) g_free (email_address); } + + g_list_free_full (email_attr_list, (GDestroyNotify) e_vcard_attribute_free); } static void @@ -1831,6 +1833,8 @@ fill_in_im (EContactEditor *editor) g_free (im_name); } + + g_list_free_full (im_attr_list, (GDestroyNotify) e_vcard_attribute_free); } } -- cgit v1.2.3