[network-manager-applet] bluetooth: don't try to free basename() (rh #590666)



commit 4b7ed9ee91611bb7aad2a672d53cee77e5037dab
Author: Dan Williams <dcbw redhat com>
Date:   Mon May 10 14:53:34 2010 -0700

    bluetooth:  don't try to free basename() (rh #590666)
    
    Missed in 0350205b8086a70545f31b3c719d7a614ce2ba9d

 src/gnome-bluetooth/network-manager-applet.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-bluetooth/network-manager-applet.c b/src/gnome-bluetooth/network-manager-applet.c
index b3e5dab..b7b2d7f 100644
--- a/src/gnome-bluetooth/network-manager-applet.c
+++ b/src/gnome-bluetooth/network-manager-applet.c
@@ -531,7 +531,7 @@ modem_get_all_cb (DBusGProxy *proxy, DBusGProxyCall *call, gpointer user_data)
 			           __func__, path, modem_iface, iface_basename);
 		}
 
-		g_free (basename);
+		g_free (iface_basename);
 	} else
 		g_message ("%s: (%s) modem had no 'Device' property", __func__, path);
 



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