mirror of
git://git.gnupg.org/gnupg.git
synced 2025-03-02 21:11:05 +01:00
card: Intialize pointer to avoid double free
* tools/gpg-card.c (cmd_salut): Initialize data pointer -- Signed-off-by: Jakub Jelen <jjelen@redhat.com> GnuPG-bug-id: 5393
This commit is contained in:
parent
27e7bde12e
commit
98c52aeb31
@ -1785,6 +1785,7 @@ cmd_salut (card_info_t info, const char *argstr)
|
||||
{
|
||||
tty_printf (_("Error: invalid response.\n"));
|
||||
xfree (data);
|
||||
data = NULL;
|
||||
goto again;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user