diff options
author | 2014-05-22 21:12:14 +0000 | |
---|---|---|
committer | 2014-05-22 21:12:14 +0000 | |
commit | 23438649799fddc3398a3cfe9081b5a637ff0e1e (patch) | |
tree | e3987d9b97aa3cb4d04705eb61e26ee985b10c76 /lib/libcrypto/stack/stack.c | |
parent | when we reduced the number of iovec's we passed through an imsg, the iovec (diff) | |
download | wireguard-openbsd-23438649799fddc3398a3cfe9081b5a637ff0e1e.tar.xz wireguard-openbsd-23438649799fddc3398a3cfe9081b5a637ff0e1e.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 'lib/libcrypto/stack/stack.c')
-rw-r--r-- | lib/libcrypto/stack/stack.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libcrypto/stack/stack.c b/lib/libcrypto/stack/stack.c index e50967a0f1f..7eb00fd6e40 100644 --- a/lib/libcrypto/stack/stack.c +++ b/lib/libcrypto/stack/stack.c @@ -141,8 +141,7 @@ sk_new(int (*c)(const void *, const void *)) return (ret); err: - if (ret) - free(ret); + free(ret); return (NULL); } |