mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
committed by
Vojtech Trefny
parent
5b68dec43a
commit
e10724accb
@@ -290,7 +290,7 @@ static int passphrase_to_utf16(struct crypt_device *cd, char *input, size_t inle
|
||||
*out = outbuf;
|
||||
} else {
|
||||
*out = NULL;
|
||||
free(outbuf);
|
||||
crypt_safe_free(outbuf);
|
||||
log_dbg(cd, "Failed to convert passphrase: %s", strerror(errno));
|
||||
r = -errno;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user