mirror of
https://github.com/apache/nuttx.git
synced 2026-05-29 20:56:47 +08:00
wireless/bluetooth: destroy nxsem properly
This commit is contained in:
@@ -1846,6 +1846,8 @@ int bt_hci_cmd_send_sync(uint16_t opcode, FAR struct bt_buf_s *buf,
|
|||||||
bt_buf_release(buf->u.hci.sync);
|
bt_buf_release(buf->u.hci.sync);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
nxsem_destroy(&sync_sem);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user