From fa03bdcd17251bec54215a778d2e211e7517a8d7 Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Fri, 30 May 2014 06:24:17 +0000 Subject: more: no need to null check before free; ok guenther --- src/lib/libcrypto/dh/dh_ameth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/libcrypto/dh') 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, err: DHerr(DH_F_DO_DH_PRINT,reason); } - if (m != NULL) free(m); + free(m); return(ret); } -- cgit v1.2.3-55-g6feb