projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
208b2d5
)
Fixed problem with multiple load-unload of comp zlib
author
David Brodski
<bid@softing.com>
Tue, 13 May 2014 16:06:27 +0000
(18:06 +0200)
committer
Rich Salz
<rsalz@openssl.org>
Wed, 26 Aug 2015 21:34:52 +0000
(17:34 -0400)
Signed-off-by: Rich Salz <rsalz@akamai.com>
Reviewed-by: Tim Hudson <tjh@openssl.org>
crypto/comp/c_zlib.c
patch
|
blob
|
history
diff --git
a/crypto/comp/c_zlib.c
b/crypto/comp/c_zlib.c
index 6a57f7092645d2dcb4e1583fe15da3dfcef1b703..f0fc0aff9e59fad30fc4677014236f8b80704965 100644
(file)
--- a/
crypto/comp/c_zlib.c
+++ b/
crypto/comp/c_zlib.c
@@
-309,7
+309,9
@@
COMP_METHOD *COMP_zlib(void)
void COMP_zlib_cleanup(void)
{
#ifdef ZLIB_SHARED
- DSO_free(zlib_dso);
+ if (zlib_dso != NULL)
+ DSO_free(zlib_dso);
+ zlib_dso = NULL;
#endif
}