diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2014-06-27 17:07:34 +0300 |
---|---|---|
committer | Szymon Janc <szymon.janc@tieto.com> | 2014-06-27 16:12:18 +0200 |
commit | bc29b7834e428821d11a39353d741cfe1503c207 (patch) | |
tree | fa54ec335ab9a99bfd47f4fd868160bd01fc93ee /android/health.c | |
parent | f9f6dd4c58dd2fd06b7c22fb25bcd74ac4c2846c (diff) | |
download | bluez-bc29b7834e428821d11a39353d741cfe1503c207.tar.gz |
android/health: Fix NULL dereference
Diffstat (limited to 'android/health.c')
-rw-r--r-- | android/health.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/health.c b/android/health.c index 93d6271f5..7d64a632a 100644 --- a/android/health.c +++ b/android/health.c @@ -1647,7 +1647,7 @@ static void channel_delete_cb(GError *gerr, gpointer data) DBG(""); - if (!gerr) { + if (gerr) { error("health: channel delete failed %s", gerr->message); return; } |