g10: Fix memory leak.
authorNIIBE Yutaka <gniibe@fsij.org>
Fri, 7 Sep 2018 04:01:52 +0000 (13:01 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Fri, 7 Sep 2018 04:01:52 +0000 (13:01 +0900)
commit7c96cc67e108f3a9514a4222ffac2f9f9a2ab19e
tree51f7ad9e874ed37917a071c7595df1f8b37f48c8
parent99c17b970bc0ca7e0cff7fe031c6f9feb05af3ff
g10: Fix memory leak.

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

--

Reported-by: Philippe Antoine
GnuPG-bug-id: 3916
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
g10/import.c