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/ecdh | |
| 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/ecdh')
| -rw-r--r-- | src/lib/libcrypto/ecdh/ech_ossl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/ecdh/ech_ossl.c b/src/lib/libcrypto/ecdh/ech_ossl.c index 129475f7bb..0f4cdf056d 100644 --- a/src/lib/libcrypto/ecdh/ech_ossl.c +++ b/src/lib/libcrypto/ecdh/ech_ossl.c | |||
| @@ -204,6 +204,6 @@ err: | |||
| 204 | if (tmp) EC_POINT_free(tmp); | 204 | if (tmp) EC_POINT_free(tmp); |
| 205 | if (ctx) BN_CTX_end(ctx); | 205 | if (ctx) BN_CTX_end(ctx); |
| 206 | if (ctx) BN_CTX_free(ctx); | 206 | if (ctx) BN_CTX_free(ctx); |
| 207 | if (buf) free(buf); | 207 | free(buf); |
| 208 | return(ret); | 208 | return(ret); |
| 209 | } | 209 | } |
