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
commit1f5e0bb1d4c4c7e31ac5bbe22b27e0c672f7c82f (patch)
tree378f1ca33779c5e85714a5e4979113c540782fad /src/lib/libcrypto/dh/dh_ameth.c
parent93efbaa11c9b941fe460a1f6bfa75b21d8624e53 (diff)
downloadopenbsd-1f5e0bb1d4c4c7e31ac5bbe22b27e0c672f7c82f.tar.gz
openbsd-1f5e0bb1d4c4c7e31ac5bbe22b27e0c672f7c82f.tar.bz2
openbsd-1f5e0bb1d4c4c7e31ac5bbe22b27e0c672f7c82f.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