mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
kbx: Fix allocation check
* kbx/kbxserver.c (cmd_search): Fix allocation check -- GnuPG-bug-id: 5393 Signed-off-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
parent
6ee3eb4202
commit
46efee8cb7
@ -391,7 +391,7 @@ cmd_search (assuan_context_t ctx, char *line)
|
||||
goto leave;
|
||||
}
|
||||
store = xtrycalloc (n, sizeof *store);
|
||||
if (!desc)
|
||||
if (!store)
|
||||
{
|
||||
err = gpg_error_from_syserror ();
|
||||
xfree (desc);
|
||||
|
Loading…
x
Reference in New Issue
Block a user