aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/eab-popup-control.c
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/widgets/eab-popup-control.c')
-rw-r--r--addressbook/gui/widgets/eab-popup-control.c2
1 files changed, 2 insertions, 0 deletions
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;
}