mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
add_provider_groups: Clean up algorithm pointer on failure
Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18494)
This commit is contained in:
parent
f91568eb50
commit
a7863f9949
@ -369,7 +369,7 @@ static int add_provider_groups(const OSSL_PARAM params[], void *data)
|
||||
OPENSSL_free(ginf->tlsname);
|
||||
OPENSSL_free(ginf->realname);
|
||||
OPENSSL_free(ginf->algorithm);
|
||||
ginf->tlsname = ginf->realname = NULL;
|
||||
ginf->algorithm = ginf->tlsname = ginf->realname = NULL;
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user