gpg: Fix memory leak due to PKA lookup.

* g10/keyserver.c (keyserver_import_pka): Move the xfree.
This commit is contained in:
Werner Koch 2015-02-26 18:01:13 +01:00
parent 165094a445
commit 91baea2dcd
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
1 changed files with 1 additions and 1 deletions

View File

@ -1991,8 +1991,8 @@ keyserver_import_pka (ctrl_t ctrl,
rc = keyserver_import_fprint (ctrl, *fpr, 20, spec);
free_keyserver_spec (spec);
}
xfree (uri);
}
xfree (uri);
if (rc)
{