From 86cc67e081e33dddbaf25431301fa298e4da8335 Mon Sep 17 00:00:00 2001 From: Vojtech Trefny Date: Fri, 15 May 2020 17:15:07 +0200 Subject: [PATCH] bitlk: Fix memory leak when freeing bitlk_fvek structure --- lib/bitlk/bitlk.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/bitlk/bitlk.c b/lib/bitlk/bitlk.c index 6f77f750..2ce3a945 100644 --- a/lib/bitlk/bitlk.c +++ b/lib/bitlk/bitlk.c @@ -415,6 +415,7 @@ void BITLK_bitlk_fvek_free(struct bitlk_fvek *fvek) return; crypt_free_volume_key(fvek->vk); + free(fvek); } void BITLK_bitlk_vmk_free(struct bitlk_vmk *vmk)