|
@@ -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);
|
|
vfree(ctx->comp_stream.workspace);
|
|
}
|
|
}
|
|
|
|
|
|
static void deflate_decomp_exit(struct deflate_ctx *ctx)
|
|
static void deflate_decomp_exit(struct deflate_ctx *ctx)
|
|
{
|
|
{
|
|
|
|
+ zlib_inflateEnd(&ctx->decomp_stream);
|
|
kfree(ctx->decomp_stream.workspace);
|
|
kfree(ctx->decomp_stream.workspace);
|
|
}
|
|
}
|
|
|
|
|