summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dh/dh_ameth.c
diff options
context:
space:
mode:
authorderaadt <>2014-05-30 06:24:17 +0000
committerderaadt <>2014-05-30 06:24:17 +0000
commitfa03bdcd17251bec54215a778d2e211e7517a8d7 (patch)
tree378f1ca33779c5e85714a5e4979113c540782fad /src/lib/libcrypto/dh/dh_ameth.c
parentabd9b10898e82011a65d8e8fca56bf56532edd69 (diff)
downloadopenbsd-fa03bdcd17251bec54215a778d2e211e7517a8d7.tar.gz
openbsd-fa03bdcd17251bec54215a778d2e211e7517a8d7.tar.bz2
openbsd-fa03bdcd17251bec54215a778d2e211e7517a8d7.zip
more: no need to null check before free; ok guenther
Diffstat (limited to 'src/lib/libcrypto/dh/dh_ameth.c')
-rw-r--r--src/lib/libcrypto/dh/dh_ameth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/dh/dh_ameth.c b/src/lib/libcrypto/dh/dh_ameth.c
index 119ac615a6..fe3dfc40d1 100644
--- a/src/lib/libcrypto/dh/dh_ameth.c
+++ b/src/lib/libcrypto/dh/dh_ameth.c
@@ -382,7 +382,7 @@ static int do_dh_print(BIO *bp, const DH *x, int indent,
382err: 382err:
383 DHerr(DH_F_DO_DH_PRINT,reason); 383 DHerr(DH_F_DO_DH_PRINT,reason);
384 } 384 }
385 if (m != NULL) free(m); 385 free(m);
386 return(ret); 386 return(ret);
387 } 387 }
388 388