From 56c45fcfabb6a832d5e044fcde87e8ec3b25367b Mon Sep 17 00:00:00 2001 From: Chris Heath Date: Fri, 9 Jun 2006 02:21:03 +0000 Subject: Fix memory leak. Fixes bug #335423. 2006-06-09 Chris Heath * addressbook/gui/widgets/eab-popup-control.c (eab_popup_control_set_free_form): * addressbook/gui/contact-editor/e-contact-quick-add.c (quick_add_merge_contact): * e-util/e-plugin.c (ep_construct): * mail/message-list.c (message_list_finalise): * plugins/itip-view.c (itip_view_destroy): Fix memory leak. Fixes bug #335423. svn path=/trunk/; revision=32101 --- addressbook/gui/widgets/eab-popup-control.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'addressbook/gui/widgets') diff --git a/addressbook/gui/widgets/eab-popup-control.c b/addressbook/gui/widgets/eab-popup-control.c index b682e189a2..bf8a26b002 100644 --- a/addressbook/gui/widgets/eab-popup-control.c +++ b/addressbook/gui/widgets/eab-popup-control.c @@ -208,6 +208,8 @@ eab_popup_control_set_free_form (EABPopupControl *pop, const gchar *txt) gchar *email = g_strndup (lt+1, gt-lt-1); eab_popup_control_set_name (pop, name); eab_popup_control_set_email (pop, email); + g_free(name); + g_free(email); return TRUE; } -- cgit v1.2.3