g10: Push compress filter only if compressed.
authorNIIBE Yutaka <gniibe@fsij.org>
Fri, 13 Apr 2018 01:09:02 +0000 (10:09 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Fri, 13 Apr 2018 01:09:02 +0000 (10:09 +0900)
commitc31abf84659dbda5503dd9f3aa3449520bcd1b84
tree6b469fad376cd4939685a4690ad786609d268578
parent40fcddd3a98b778f9f31654adf4c06037e8b8e5d
g10: Push compress filter only if compressed.

* g10/compress.c (handle_compressed): Fix memory leak.

--

All other calls of push_compress_filter checks ALGO,
so, do it here, too.

GnuPG-bug-id: 3898
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
g10/compress.c