mirror of
https://github.com/openssl/openssl.git
synced 2024-12-09 05:51:54 +08:00
Fix coverity 1596617
Somehow a double free slipped into conf_mod.c, remove it Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Paul Dale <ppzgs1@gmail.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/24263)
This commit is contained in:
parent
badda78325
commit
3059052992
@ -368,7 +368,6 @@ static CONF_MODULE *module_add(DSO *dso, const char *name,
|
||||
|
||||
err:
|
||||
ossl_rcu_write_unlock(module_list_lock);
|
||||
sk_CONF_MODULE_free(new_modules);
|
||||
if (tmod != NULL) {
|
||||
OPENSSL_free(tmod->name);
|
||||
OPENSSL_free(tmod);
|
||||
|
Loading…
Reference in New Issue
Block a user