[gnome-bluetooth/gnome-3-2] applet: Fix memleak in browse callback
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth/gnome-3-2] applet: Fix memleak in browse callback
- Date: Wed, 18 Jan 2012 15:10:22 +0000 (UTC)
commit 6aec9c2758069ed8e0993255c6e197b2577635a8
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 4bf77d4..34f3725 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]