diff options
| author | miod <> | 2014-05-22 21:12:16 +0000 |
|---|---|---|
| committer | miod <> | 2014-05-22 21:12:16 +0000 |
| commit | c34fac2dfaf2da90889ed845a5139c916868eea2 (patch) | |
| tree | fd278ca4aaae51bbb11f6b3d67d862d9827370bc /src/lib/libcrypto/store | |
| parent | 5f35ad01d525b3834ce610866244a942ee37c441 (diff) | |
| download | openbsd-c34fac2dfaf2da90889ed845a5139c916868eea2.tar.gz openbsd-c34fac2dfaf2da90889ed845a5139c916868eea2.tar.bz2 openbsd-c34fac2dfaf2da90889ed845a5139c916868eea2.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) |
