summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crypto/conf/conf_mod.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/conf/conf_mod.c b/crypto/conf/conf_mod.c
index e10c18a29f..0b703826a7 100644
--- a/crypto/conf/conf_mod.c
+++ b/crypto/conf/conf_mod.c
@@ -372,6 +372,7 @@ static CONF_MODULE *module_add(DSO *dso, const char *name,
OPENSSL_free(tmod->name);
OPENSSL_free(tmod);
}
+ sk_CONF_MODULE_free(new_modules);
return NULL;
}