]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - crypto/deflate.c
[libata sata_mv] move code around
[linux-2.6-omap-h63xx.git] / crypto / deflate.c
index 77d7655d316aed05ef28f211df4027370b9412f2..bc73342cd1ecc253909440de480909b7eab10beb 100644 (file)
@@ -93,11 +93,13 @@ out_free:
 
 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)
 {
+       zlib_inflateEnd(&ctx->decomp_stream);
        kfree(ctx->decomp_stream.workspace);
 }