From 3f083ef0ebf33487d0493bb65523562144b49e38 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 13 Nov 2002 20:25:47 +0000 Subject: [PATCH] free() -> OPENSSL_free() --- crypto/asn1/t_x509.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/asn1/t_x509.c b/crypto/asn1/t_x509.c index 7bf2866150..36cef4605d 100644 --- a/crypto/asn1/t_x509.c +++ b/crypto/asn1/t_x509.c @@ -452,7 +452,7 @@ int X509_NAME_print(BIO *bp, X509_NAME *name, int obase) b=s=X509_NAME_oneline(name,NULL,0); if (!*s) { - free(b); + OPENSSL_free(b); return 1; } s++; /* skip the first slash */ @@ -510,7 +510,7 @@ int X509_NAME_print(BIO *bp, X509_NAME *name, int obase) err: X509err(X509_F_X509_NAME_PRINT,ERR_R_BUF_LIB); } - free(b); + OPENSSL_free(b); return(ret); } -- 2.25.1