diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2014-05-22 21:12:17 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2014-05-22 21:12:17 +0000 |
commit | e4cd58f507fd46d613ab7dfd04bff18eeb5b8b95 (patch) | |
tree | 0104aca4bba9f2c5c1040b5537390d7b77b0d2d2 /lib/libcrypto/store/str_mem.c | |
parent | e2aa95bd3f6319316d751c070fdd1173ea6432df (diff) |
if (x) free(x) -> free(x); semantic patch generated with coccinelle, carefully
eyeballed before applying. Contributed by Cyril Roelandt on tech@
Diffstat (limited to 'lib/libcrypto/store/str_mem.c')
-rw-r--r-- | lib/libcrypto/store/str_mem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcrypto/store/str_mem.c b/lib/libcrypto/store/str_mem.c index a73279c86b5..7e2346d93df 100644 --- a/lib/libcrypto/store/str_mem.c +++ b/lib/libcrypto/store/str_mem.c @@ -333,7 +333,7 @@ static int mem_list_end(STORE *s, void *handle) } if (context && context->search_attributes) sk_STORE_ATTR_INFO_free(context->search_attributes); - if (context) free(context); + free(context); return 1; } static int mem_list_endp(STORE *s, void *handle) |