From 47f632263ee888b60b9bc93481913435b1de6f50 Mon Sep 17 00:00:00 2001 From: Ondrej Kozina Date: Fri, 8 Feb 2019 11:56:52 +0100 Subject: [PATCH] Add missing crypt_free() in api test. --- tests/api-test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/api-test.c b/tests/api-test.c index a435fa85..e41e48e9 100644 --- a/tests/api-test.c +++ b/tests/api-test.c @@ -1497,6 +1497,7 @@ static void HashDevicePlain(void) OK_(get_key_dm(CDEVICE_1, key, sizeof(key))); OK_(strcmp(key, mk_hex)); OK_(crypt_deactivate(cd, CDEVICE_1)); + crypt_free(cd); _remove_keyfiles();