diff options
| author | deraadt <> | 2014-05-30 06:24:17 +0000 |
|---|---|---|
| committer | deraadt <> | 2014-05-30 06:24:17 +0000 |
| commit | 1f5e0bb1d4c4c7e31ac5bbe22b27e0c672f7c82f (patch) | |
| tree | 378f1ca33779c5e85714a5e4979113c540782fad /src/lib/libcrypto/dh/dh_ameth.c | |
| parent | 93efbaa11c9b941fe460a1f6bfa75b21d8624e53 (diff) | |
| download | openbsd-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.c | 2 |
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, | |||
| 382 | err: | 382 | err: |
| 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 | ||
