diff options
Diffstat (limited to 'lib/libcrypto/conf/conf_mod.c')
-rw-r--r-- | lib/libcrypto/conf/conf_mod.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libcrypto/conf/conf_mod.c b/lib/libcrypto/conf/conf_mod.c index b5741047914..f7fdbfa6704 100644 --- a/lib/libcrypto/conf/conf_mod.c +++ b/lib/libcrypto/conf/conf_mod.c @@ -386,10 +386,8 @@ err: memerr: if (imod) { - if (imod->name) - free(imod->name); - if (imod->value) - free(imod->value); + free(imod->name); + free(imod->value); free(imod); } |