summaryrefslogtreecommitdiff
path: root/android/health.c
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2014-06-27 17:07:34 +0300
committerSzymon Janc <szymon.janc@tieto.com>2014-06-27 16:12:18 +0200
commitbc29b7834e428821d11a39353d741cfe1503c207 (patch)
treefa54ec335ab9a99bfd47f4fd868160bd01fc93ee /android/health.c
parentf9f6dd4c58dd2fd06b7c22fb25bcd74ac4c2846c (diff)
downloadbluez-bc29b7834e428821d11a39353d741cfe1503c207.tar.gz
android/health: Fix NULL dereference
Diffstat (limited to 'android/health.c')
-rw-r--r--android/health.c2
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;
}