mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-23 10:29:58 +01:00
gpg: Fix double-free in gpg --card-edit.
* g10/card-util.c (change_name): Don't free ISONAME here. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
2302e180c0
commit
cd29ab0435
@ -801,7 +801,6 @@ change_name (void)
|
|||||||
{
|
{
|
||||||
tty_printf (_("Error: Combined name too long "
|
tty_printf (_("Error: Combined name too long "
|
||||||
"(limit is %d characters).\n"), 39);
|
"(limit is %d characters).\n"), 39);
|
||||||
xfree (isoname);
|
|
||||||
rc = gpg_error (GPG_ERR_TOO_LARGE);
|
rc = gpg_error (GPG_ERR_TOO_LARGE);
|
||||||
goto leave;
|
goto leave;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user