projects
/
platform
/
upstream
/
gpg2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 2.1.14
[platform/upstream/gpg2.git]
/
g10
/
compress.c
diff --git
a/g10/compress.c
b/g10/compress.c
index
bdddef1
..
c34beec
100644
(file)
--- a/
g10/compress.c
+++ b/
g10/compress.c
@@
-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);
}