free null cleanup finale
Don't check for NULL before calling OPENSSL_free Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
@@ -339,8 +339,7 @@ static const char *get_UBSEC_LIBNAME(void)
|
||||
|
||||
static void free_UBSEC_LIBNAME(void)
|
||||
{
|
||||
if (UBSEC_LIBNAME)
|
||||
OPENSSL_free((void *)UBSEC_LIBNAME);
|
||||
OPENSSL_free(UBSEC_LIBNAME);
|
||||
UBSEC_LIBNAME = NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user