mirror of
https://github.com/openssl/openssl.git
synced 2024-12-14 20:43:46 +08:00
Don't NULL check before calling DSO_free.
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de> (Merged from https://github.com/openssl/openssl/pull/4703)
This commit is contained in:
parent
7aae0d33ac
commit
1b6fa9fdf8
@ -262,8 +262,7 @@ COMP_METHOD *COMP_zlib(void)
|
|||||||
void comp_zlib_cleanup_int(void)
|
void comp_zlib_cleanup_int(void)
|
||||||
{
|
{
|
||||||
#ifdef ZLIB_SHARED
|
#ifdef ZLIB_SHARED
|
||||||
if (zlib_dso != NULL)
|
DSO_free(zlib_dso);
|
||||||
DSO_free(zlib_dso);
|
|
||||||
zlib_dso = NULL;
|
zlib_dso = NULL;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user