diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/glib-helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/glib-helper.c b/common/glib-helper.c index 515254ec..ed203eb4 100644 --- a/common/glib-helper.c +++ b/common/glib-helper.c @@ -328,7 +328,7 @@ void bt_cancel_discovery(const bdaddr_t *src, const bdaddr_t *dst) /* Ongoing SDP Discovery */ if (match) { ctxt = match->data; - if (ctxt->session) + if (ctxt->session) close(ctxt->session->sock); } } |