From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx> Fix leaking fd on exit --- src/shared/crypto.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shared/crypto.c b/src/shared/crypto.c index 12ca9a7..7f77674 100644 --- a/src/shared/crypto.c +++ b/src/shared/crypto.c @@ -594,6 +594,8 @@ static bool aes_cmac(struct bt_crypto *crypto, uint8_t key[16], uint8_t *msg, swap_buf(out, res, 16); + close(fd); + return true; } -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html