projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
free NULL cleanup
[oweals/openssl.git]
/
crypto
/
dh
/
dhtest.c
diff --git
a/crypto/dh/dhtest.c
b/crypto/dh/dhtest.c
index 9bb9a0021280e2bd8388bd14f523e7493b18707b..6c063daf3d66fd67405f89b316a248d87f7ea1d1 100644
(file)
--- a/
crypto/dh/dhtest.c
+++ b/
crypto/dh/dhtest.c
@@
-199,10
+199,8
@@
int main(int argc, char *argv[])
OPENSSL_free(abuf);
if (bbuf != NULL)
OPENSSL_free(bbuf);
- if (b != NULL)
- DH_free(b);
- if (a != NULL)
- DH_free(a);
+ DH_free(b);
+ DH_free(a);
if (_cb)
BN_GENCB_free(_cb);
BIO_free(out);