commit | bc3405aa81f17d2d8c44e9bf4fcf1098e37a34e0 | [log] [tgz] |
---|---|---|
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Thu Sep 01 16:42:17 2016 +0300 |
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Thu Sep 01 16:42:17 2016 +0300 |
tree | 5347a09fb70d8852343f4bd63fa138e0a90fc27e | |
parent | 72b4b435587e54519cdd4dd48a455f223cac249b [diff] |
core/adapter: Fix NULL pointer dereference
diff --git a/src/adapter.c b/src/adapter.c index ddabf2d..b096d48 100644 --- a/src/adapter.c +++ b/src/adapter.c
@@ -8065,7 +8065,7 @@ adapter = btd_adapter_new(index); if (!adapter) { - btd_error(adapter->dev_id, + btd_error(index, "Unable to create new adapter for index %u", index); return; }