Diffusion GnuPG d26363e4f193

gpg: Fix minor memory leak in the compress filter.

Authored by werner on May 2 2018, 7:44 PM.

Description

gpg: Fix minor memory leak in the compress filter.

* g10/compress.c (push_compress_filter2): Return an error if no filter
was pushed.
(push_compress_filter): Ditto.
(handle_compressed): Free CFX if no filter was pushed.
* g10/import.c (read_block): Ditto.
  • GnuPG-bug-id: T3898, T3930
  • Signed-off-by: Werner Koch <wk@gnupg.org>