[gnome-bluetooth/meego] meego: don't leak strings when failing



commit 61eca1d6bd8e1a70bf42a66d86d32a441a5dec64
Author: Ross Burton <ross linux intel com>
Date:   Tue Oct 12 12:16:23 2010 +0100

    meego: don't leak strings when failing

 moblin/moblin-panel.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/moblin/moblin-panel.c b/moblin/moblin-panel.c
index e241fa5..1b6c0c0 100644
--- a/moblin/moblin-panel.c
+++ b/moblin/moblin-panel.c
@@ -663,6 +663,7 @@ set_failure_message (MoblinPanel *self, gchar *device)
 
 	str = g_strdup_printf (_("Pairing with %s failed."), device);
 	gtk_label_set_text (GTK_LABEL (priv->label_failure), str);
+	g_free (str);
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]