mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
tests: Fix memory leak introduced in previous patches.
This commit is contained in:
@@ -214,7 +214,7 @@ static int get_luks2_offsets(int metadata_device,
|
||||
|
||||
default_header_size = crypt_get_data_offset(_cd);
|
||||
|
||||
crypt_free(cd);
|
||||
crypt_free(_cd);
|
||||
}
|
||||
|
||||
if (!sector_size)
|
||||
|
||||
Reference in New Issue
Block a user