diff --git a/unit/test-crypto.c b/unit/test-crypto.c index 6648e8de..6920aa6d 100644 --- a/unit/test-crypto.c +++ b/unit/test-crypto.c @@ -332,6 +332,8 @@ static void ptk_test(const void *data) if (test->tk) assert(!memcmp(test->tk, ptk->tk, crypto_cipher_key_len(test->cipher))); + + l_free(ptk); } int main(int argc, char *argv[])