projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[CRYPTO] cipher: Align temporary buffer in cbc_process_decrypt
[powerpc.git]
/
crypto
/
deflate.c
diff --git
a/crypto/deflate.c
b/crypto/deflate.c
index
77d7655
..
bc73342
100644
(file)
--- a/
crypto/deflate.c
+++ b/
crypto/deflate.c
@@
-93,11
+93,13
@@
out_free:
static void deflate_comp_exit(struct deflate_ctx *ctx)
{
static void deflate_comp_exit(struct deflate_ctx *ctx)
{
+ zlib_deflateEnd(&ctx->comp_stream);
vfree(ctx->comp_stream.workspace);
}
static void deflate_decomp_exit(struct deflate_ctx *ctx)
{
vfree(ctx->comp_stream.workspace);
}
static void deflate_decomp_exit(struct deflate_ctx *ctx)
{
+ zlib_inflateEnd(&ctx->decomp_stream);
kfree(ctx->decomp_stream.workspace);
}
kfree(ctx->decomp_stream.workspace);
}