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:
7aae0d3
)
Don't NULL check before calling DSO_free.
author
Rich Salz
<rsalz@openssl.org>
Wed, 8 Nov 2017 16:59:13 +0000
(11:59 -0500)
committer
Rich Salz
<rsalz@openssl.org>
Wed, 8 Nov 2017 19:59:42 +0000
(14:59 -0500)
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/4703)
crypto/comp/c_zlib.c
patch
|
blob
|
history
diff --git
a/crypto/comp/c_zlib.c
b/crypto/comp/c_zlib.c
index 1270e508345243aa53fef0a4b0e11f001124f19c..05787aa394d3fbcc71df6a265c029fb2bbc1521a 100644
(file)
--- a/
crypto/comp/c_zlib.c
+++ b/
crypto/comp/c_zlib.c
@@
-262,8
+262,7
@@
COMP_METHOD *COMP_zlib(void)
void comp_zlib_cleanup_int(void)
{
#ifdef ZLIB_SHARED
- if (zlib_dso != NULL)
- DSO_free(zlib_dso);
+ DSO_free(zlib_dso);
zlib_dso = NULL;
#endif
}