diff options
Diffstat (limited to 'lib/libcrypto/asn1/t_x509.c')
-rw-r--r-- | lib/libcrypto/asn1/t_x509.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libcrypto/asn1/t_x509.c b/lib/libcrypto/asn1/t_x509.c index efba93adeb8..f1c045e0e6f 100644 --- a/lib/libcrypto/asn1/t_x509.c +++ b/lib/libcrypto/asn1/t_x509.c @@ -245,8 +245,7 @@ X509_print_ex(BIO *bp, X509 *x, unsigned long nmflags, unsigned long cflag) ret = 1; err: - if (m != NULL) - free(m); + free(m); return (ret); } @@ -294,8 +293,7 @@ int X509_ocspid_print (BIO *bp, X509 *x) return (1); err: - if (der != NULL) - free(der); + free(der); return (0); } |