[empathy] contact_widget_location_update: fix string leak
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] contact_widget_location_update: fix string leak
- Date: Mon, 5 Jul 2010 07:46:34 +0000 (UTC)
commit af6301ba7e46881feaf21f696a4721bbec946ca6
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Fri Jul 2 14:12:32 2010 +0200
contact_widget_location_update: fix string leak
libempathy-gtk/empathy-contact-widget.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c
index e7a6b3a..0241281 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 ( _("<b>Location</b>, "), user_date, NULL);
gtk_label_set_markup (GTK_LABEL (information->label_location), text);
+ g_free (user_date);
g_free (text);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]