mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-17 15:44:34 +02:00
gpg: Fix memory leak due to PKA lookup.
* g10/keyserver.c (keyserver_import_pka): Move the xfree.
This commit is contained in:
parent
165094a445
commit
91baea2dcd
@ -1991,8 +1991,8 @@ keyserver_import_pka (ctrl_t ctrl,
|
|||||||
rc = keyserver_import_fprint (ctrl, *fpr, 20, spec);
|
rc = keyserver_import_fprint (ctrl, *fpr, 20, spec);
|
||||||
free_keyserver_spec (spec);
|
free_keyserver_spec (spec);
|
||||||
}
|
}
|
||||||
xfree (uri);
|
|
||||||
}
|
}
|
||||||
|
xfree (uri);
|
||||||
|
|
||||||
if (rc)
|
if (rc)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user