Diff between 4ae130455b173650f564d92f7908a7ca4f7b1ee6 and 4334be027ae1ad50193025c90e77a76b64464b53
Changed Files
| File | Additions | Deletions | Status |
| tools/l2cap-tester.c | +1 | -0 | modified |
Full Patch
diff --git a/tools/l2cap-tester.c b/tools/l2cap-tester.c
index d78b1e2..3f04640 100644
--- a/tools/l2cap-tester.c
+++ b/tools/l2cap-tester.c
@@ -1709,6 +1709,7 @@ static gboolean l2cap_listen_cb(GIOChannel *io, GIOCondition cond,
if (!check_mtu(data, new_sk)) {
tester_test_failed();
+ close(new_sk);
return FALSE;
}