[empathy/gnome-2-30] contact_widget_location_update: fix string leak
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy/gnome-2-30] contact_widget_location_update: fix string leak
- Date: Tue, 6 Jul 2010 13:02:00 +0000 (UTC)
commit 9bb15d9da9267f8d23132cbff841031a70d2372f
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 82a5ac7..87a7926 100644
--- a/libempathy-gtk/empathy-contact-widget.c
+++ b/libempathy-gtk/empathy-contact-widget.c
@@ -602,6 +602,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]