mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-13 03:40:05 +01:00
bitlk: Fix memory leak when freeing bitlk_fvek structure
This commit is contained in:
@@ -415,6 +415,7 @@ void BITLK_bitlk_fvek_free(struct bitlk_fvek *fvek)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
crypt_free_volume_key(fvek->vk);
|
crypt_free_volume_key(fvek->vk);
|
||||||
|
free(fvek);
|
||||||
}
|
}
|
||||||
|
|
||||||
void BITLK_bitlk_vmk_free(struct bitlk_vmk *vmk)
|
void BITLK_bitlk_vmk_free(struct bitlk_vmk *vmk)
|
||||||
|
|||||||
Reference in New Issue
Block a user