summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorNeil Horman <nhorman@openssl.org>2024-04-25 08:46:21 -0400
committerTomas Mraz <tomas@openssl.org>2024-04-26 17:09:06 +0200
commit3059052992ab61b0ba560ddf48111cecb5158ae2 (patch)
treeb275f27b41ef0ae711d41ab94036abc2ee356172 /crypto
parentbadda78325dd961fa41a107796f2744ffbe8b265 (diff)
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)
Diffstat (limited to 'crypto')
-rw-r--r--crypto/conf/conf_mod.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/conf/conf_mod.c b/crypto/conf/conf_mod.c
index 23912a56cc..ccd28a146a 100644
--- a/crypto/conf/conf_mod.c
+++ b/crypto/conf/conf_mod.c
@@ -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);