From 3059052992ab61b0ba560ddf48111cecb5158ae2 Mon Sep 17 00:00:00 2001 From: Neil Horman Date: Thu, 25 Apr 2024 08:46:21 -0400 Subject: [PATCH] Fix coverity 1596617 Somehow a double free slipped into conf_mod.c, remove it Reviewed-by: Matt Caswell Reviewed-by: Paul Dale Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/24263) --- crypto/conf/conf_mod.c | 1 - 1 file changed, 1 deletion(-) diff --git a/crypto/conf/conf_mod.c b/crypto/conf/conf_mod.c index 23912a56ccb..ccd28a146a7 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); -- 2.47.2