summaryrefslogtreecommitdiff
path: root/lib/libcrypto/conf/conf_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypto/conf/conf_api.c')
-rw-r--r--lib/libcrypto/conf/conf_api.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libcrypto/conf/conf_api.c b/lib/libcrypto/conf/conf_api.c
index 98e058dad45..41c5b05fcbe 100644
--- a/lib/libcrypto/conf/conf_api.c
+++ b/lib/libcrypto/conf/conf_api.c
@@ -300,8 +300,7 @@ err:
if (!ok) {
if (sk != NULL)
sk_CONF_VALUE_free(sk);
- if (v != NULL)
- free(v);
+ free(v);
v = NULL;
}
return (v);