Skip to content

Commit

Permalink
Fix coverity 1596617
Browse files Browse the repository at this point in the history
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 #24263)
  • Loading branch information
nhorman authored and t8m committed Apr 26, 2024
1 parent badda78 commit 3059052
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crypto/conf/conf_mod.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3059052

Please sign in to comment.