g10: Fix memory leak.
authorNIIBE Yutaka <gniibe@fsij.org>
Fri, 7 Sep 2018 04:01:52 +0000 (13:01 +0900)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Mon, 8 Oct 2018 15:36:01 +0000 (16:36 +0100)
commit956f85c7e489b6be728f5f9b2ba9bd3e0dcf37a6
treecb39cbe6c8b81b4563f0d8a0de857b9f05df1cb4
parenta615b1367519c07c04eea39bf02aa4f4229d24f0
g10: Fix memory leak.

* g10/import.c (read_block): Call free_packet to skip the packet.

--

Cherry-pick of master commit of:
7c96cc67e108f3a9514a4222ffac2f9f9a2ab19e

Reported-by: Philippe Antoine
GnuPG-bug-id: 3916
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
(cherry picked from commit 91f8a9b33a1282cbf00cb4b71b177088f0d923d7)

Gbp-Pq: Name g10-Fix-memory-leak.patch
g10/import.c