From 9ffb7146f0aa9c0070cda3d8701b0a89e34913d1 Mon Sep 17 00:00:00 2001 From: "Artem B. Bityuckiy" Date: Sat, 16 Apr 2005 15:23:58 -0700 Subject: [PATCH] [PATCH] crypto: call zlib end functions on deflate exit path In the deflate_[compress|uncompress|pcompress] functions we call the zlib_[in|de]flateReset function at the beginning. This is OK. But when we unload the deflate module we don't call zlib_[in|de]flateEnd to free all the zlib internal data. It looks like a bug for me. Please, consider the attached patch. Signed-off-by: Artem B. Bityuckiy Signed-off-by: Herbert Xu Cc: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-format-patch failed