dirmngr: Fix error code path of map_host.
authorNIIBE Yutaka <gniibe@fsij.org>
Thu, 8 Jan 2015 03:14:13 +0000 (12:14 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Thu, 8 Jan 2015 03:14:13 +0000 (12:14 +0900)
commit657a26f3af1b3f817d6cde2d091273d332571247
tree417cc85c3d817a2b9dad945bdc452bc19d323732
parent100b322f5da3066bab5a2b0eb234c631c581c0e4
dirmngr: Fix error code path of map_host.

* dirmngr/ks-engine-hkp.c (map_host): Fix error return.

--

In ks-engine-hkp.c on line 509 'reftbl' is freed, but it is then
used on line 511. I'm guessing this is a missing return;.

Reported-by: Joshua Rogers <honey@internot.info>
Debian-Bug-Id: 773520

Other fixes on error added too.
dirmngr/ks-engine-hkp.c