summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/t_x509.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/asn1/t_x509.c')
-rw-r--r--src/lib/libcrypto/asn1/t_x509.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/libcrypto/asn1/t_x509.c b/src/lib/libcrypto/asn1/t_x509.c
index efba93adeb..f1c045e0e6 100644
--- a/src/lib/libcrypto/asn1/t_x509.c
+++ b/src/lib/libcrypto/asn1/t_x509.c
@@ -245,8 +245,7 @@ X509_print_ex(BIO *bp, X509 *x, unsigned long nmflags, unsigned long cflag)
245 ret = 1; 245 ret = 1;
246 246
247err: 247err:
248 if (m != NULL) 248 free(m);
249 free(m);
250 return (ret); 249 return (ret);
251} 250}
252 251
@@ -294,8 +293,7 @@ int X509_ocspid_print (BIO *bp, X509 *x)
294 return (1); 293 return (1);
295 294
296err: 295err:
297 if (der != NULL) 296 free(der);
298 free(der);
299 return (0); 297 return (0);
300} 298}
301 299