[gnome-bluetooth] applet: Fix memleak in browse callback



commit dd0fda4baf7c8d619c5211b46eac99f5cd638259
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Jan 18 15:02:11 2012 +0000

    applet: Fix memleak in browse callback

 applet/main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/applet/main.c b/applet/main.c
index fb6bc0b..98e68be 100644
--- a/applet/main.c
+++ b/applet/main.c
@@ -155,6 +155,7 @@ void browse_callback(GObject *widget, gpointer user_data)
 
 	bluetooth_applet_browse_address (applet, address,
 					 GDK_CURRENT_TIME, mount_finish_cb, NULL);
+	g_free (address);
 
 }
 



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