Add missing crypt_free() in api test.

This commit is contained in:
Ondrej Kozina
2019-02-08 11:56:52 +01:00
parent 98af0b0c77
commit 47f632263e

View File

@@ -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();