diff options
author | JP Rosevear <jpr@ximian.com> | 2003-12-10 11:02:40 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2003-12-10 11:02:40 +0800 |
commit | de2f6d31cb030b932a60417e422c07111a101fc6 (patch) | |
tree | 31bb53013549f8195f79b1e0555e5730e49d9a99 /addressbook/gui/contact-list-editor | |
parent | 7448a88ad16d14fa64f2d2ea339bb1524e069fc3 (diff) | |
download | gsoc2013-evolution-de2f6d31cb030b932a60417e422c07111a101fc6.tar gsoc2013-evolution-de2f6d31cb030b932a60417e422c07111a101fc6.tar.gz gsoc2013-evolution-de2f6d31cb030b932a60417e422c07111a101fc6.tar.bz2 gsoc2013-evolution-de2f6d31cb030b932a60417e422c07111a101fc6.tar.lz gsoc2013-evolution-de2f6d31cb030b932a60417e422c07111a101fc6.tar.xz gsoc2013-evolution-de2f6d31cb030b932a60417e422c07111a101fc6.tar.zst gsoc2013-evolution-de2f6d31cb030b932a60417e422c07111a101fc6.zip |
free email list properly
2003-12-09 JP Rosevear <jpr@ximian.com>
* gui/contact-list-editor/e-contact-list-editor.c (fill_in_info):
free email list properly
svn path=/trunk/; revision=23901
Diffstat (limited to 'addressbook/gui/contact-list-editor')
-rw-r--r-- | addressbook/gui/contact-list-editor/e-contact-list-editor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addressbook/gui/contact-list-editor/e-contact-list-editor.c b/addressbook/gui/contact-list-editor/e-contact-list-editor.c index de95077ced..60ed1cf4f6 100644 --- a/addressbook/gui/contact-list-editor/e-contact-list-editor.c +++ b/addressbook/gui/contact-list-editor/e-contact-list-editor.c @@ -1261,14 +1261,14 @@ fill_in_info(EContactListEditor *editor) } } - /* XXX free email_list */ + g_list_foreach (email_list, (GFunc) g_free, NULL); + g_list_free (email_list); photo = e_contact_get (editor->contact, E_CONTACT_LOGO); if (photo) { set_image_from_data (editor, photo->data, photo->length); e_contact_photo_free (photo); } - g_object_unref (email_list); } } |