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
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue