diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2014-05-30 06:24:18 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2014-05-30 06:24:18 +0000 |
commit | d15ac4820e36f6e5302081a89c405ff5bff1922f (patch) | |
tree | 12e35379b916c7dbf46fb4d583d7aa102541ec7c /lib/libcrypto/dsa | |
parent | 92fe7f51d198ea62cc552bf356ca8d58fa48417f (diff) |
more: no need to null check before free; ok guenther
Diffstat (limited to 'lib/libcrypto/dsa')
-rw-r--r-- | lib/libcrypto/dsa/dsa_ameth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcrypto/dsa/dsa_ameth.c b/lib/libcrypto/dsa/dsa_ameth.c index e2c3980e565..c6d04f6a5d5 100644 --- a/lib/libcrypto/dsa/dsa_ameth.c +++ b/lib/libcrypto/dsa/dsa_ameth.c @@ -481,7 +481,7 @@ static int do_dsa_print(BIO *bp, const DSA *x, int off, int ptype) if (!ASN1_bn_print(bp,"G: ",x->g,m,off)) goto err; ret=1; err: - if (m != NULL) free(m); + free(m); return(ret); } |