Diff between 9a6a84a8a2b9336c2cdb943146207cb8a5a5260c and f9f98c0b2aa44fe47482e083d428fa3b54ecdeb2
Changed Files
| File | Additions | Deletions | Status |
| unit/test-uhid.c | +1 | -0 | modified |
Full Patch
diff --git a/unit/test-uhid.c b/unit/test-uhid.c
index 6871c22..c5848be 100644
--- a/unit/test-uhid.c
+++ b/unit/test-uhid.c
@@ -100,6 +100,7 @@ static void destroy_context(struct context *context)
if (context->source > 0)
g_source_remove(context->source);
+ bt_uhid_unregister_all(context->uhid);
bt_uhid_unref(context->uhid);
test_free(context->data);