unit: Fix memory leak

This commit is contained in:
Denis Kenzior 2014-12-27 23:36:12 -06:00
parent 52ee52f467
commit 9ab468b1c0
1 changed files with 2 additions and 0 deletions

View File

@ -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[])