mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-12 11:20:10 +01:00
fix memleak in crypt_resize()
This commit is contained in:
committed by
Milan Broz
parent
a0880b64f2
commit
b27507790f
@@ -1721,7 +1721,7 @@ out:
|
||||
crypt_free_volume_key(dmd.u.crypt.vk);
|
||||
free(CONST_CAST(void*)dmd.u.crypt.cipher);
|
||||
}
|
||||
free(CONST_CAST(void*)dmd.data_device);
|
||||
device_free(dmd.data_device);
|
||||
free(CONST_CAST(void*)dmd.uuid);
|
||||
|
||||
return r;
|
||||
|
||||
Reference in New Issue
Block a user