Imported Upstream version 2.1.14
[platform/upstream/gpg2.git] / g10 / compress.c
index bdddef1..c34beec 100644 (file)
@@ -295,6 +295,10 @@ compress_filter( void *opaque, int control,
 static void
 release_context (compress_filter_context_t *ctx)
 {
+  xfree(ctx->inbuf);
+  ctx->inbuf = NULL;
+  xfree(ctx->outbuf);
+  ctx->outbuf = NULL;
   xfree (ctx);
 }