diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2014-01-22 12:48:57 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-01-22 15:49:39 +0200 |
commit | a163b8c0af00655f6c88638e88f49789721bcf8e (patch) | |
tree | 7daa224cc4ead1ed15edd7a67a60d1801962427b /android/pan.c | |
parent | f32b7f505c3d3a761fa205529bd89ca180b7fbef (diff) | |
download | bluez-a163b8c0af00655f6c88638e88f49789721bcf8e.tar.gz |
android/pan: Fix wrong freeing dev
It does make sense free() dev after it is used. g_free() is not needed
here since it will be already executed in bt_pan_notify_conn_state().
Diffstat (limited to 'android/pan.c')
-rw-r--r-- | android/pan.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/android/pan.c b/android/pan.c index bfba128b8..4e04da045 100644 --- a/android/pan.c +++ b/android/pan.c @@ -463,7 +463,6 @@ static void nap_confirm_cb(GIOChannel *chan, gpointer data) return; failed: - g_free(dev); bt_pan_notify_conn_state(dev, HAL_PAN_STATE_DISCONNECTED); } |