From af6301ba7e46881feaf21f696a4721bbec946ca6 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 2 Jul 2010 14:12:32 +0200 Subject: contact_widget_location_update: fix string leak --- libempathy-gtk/empathy-contact-widget.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c index e7a6b3a14..024128151 100644 --- a/libempathy-gtk/empathy-contact-widget.c +++ b/libempathy-gtk/empathy-contact-widget.c @@ -978,6 +978,7 @@ contact_widget_location_update (EmpathyContactWidget *information) text = g_strconcat ( _("Location, "), user_date, NULL); gtk_label_set_markup (GTK_LABEL (information->label_location), text); + g_free (user_date); g_free (text); } -- cgit v1.2.3