diff options
| author | miod <> | 2014-05-22 21:12:16 +0000 |
|---|---|---|
| committer | miod <> | 2014-05-22 21:12:16 +0000 |
| commit | 31181df3ca3b68e1419bc9a97e4aee92a5f91f73 (patch) | |
| tree | fd278ca4aaae51bbb11f6b3d67d862d9827370bc /src/lib/libcrypto/store | |
| parent | 5f12773a6a914087731f2c2cb147540ead0c210a (diff) | |
| download | openbsd-31181df3ca3b68e1419bc9a97e4aee92a5f91f73.tar.gz openbsd-31181df3ca3b68e1419bc9a97e4aee92a5f91f73.tar.bz2 openbsd-31181df3ca3b68e1419bc9a97e4aee92a5f91f73.zip | |
if (x) free(x) -> free(x); semantic patch generated with coccinelle, carefully
eyeballed before applying. Contributed by Cyril Roelandt on tech@
Diffstat (limited to 'src/lib/libcrypto/store')
| -rw-r--r-- | src/lib/libcrypto/store/str_mem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/store/str_mem.c b/src/lib/libcrypto/store/str_mem.c index a73279c86b..7e2346d93d 100644 --- a/src/lib/libcrypto/store/str_mem.c +++ b/src/lib/libcrypto/store/str_mem.c | |||
| @@ -333,7 +333,7 @@ static int mem_list_end(STORE *s, void *handle) | |||
| 333 | } | 333 | } |
| 334 | if (context && context->search_attributes) | 334 | if (context && context->search_attributes) |
| 335 | sk_STORE_ATTR_INFO_free(context->search_attributes); | 335 | sk_STORE_ATTR_INFO_free(context->search_attributes); |
| 336 | if (context) free(context); | 336 | free(context); |
| 337 | return 1; | 337 | return 1; |
| 338 | } | 338 | } |
| 339 | static int mem_list_endp(STORE *s, void *handle) | 339 | static int mem_list_endp(STORE *s, void *handle) |
