From: Richard Levitte Date: Wed, 13 Nov 2002 20:25:56 +0000 (+0000) Subject: free() -> OPENSSL_free() X-Git-Tag: OpenSSL_0_9_7-beta4~53 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b193f29a9b88e2c7163ccb8618dde2bf68122789;p=oweals%2Fopenssl.git free() -> OPENSSL_free() --- diff --git a/crypto/asn1/t_x509.c b/crypto/asn1/t_x509.c index d34acf4ad1..d1034c47f8 100644 --- a/crypto/asn1/t_x509.c +++ b/crypto/asn1/t_x509.c @@ -441,7 +441,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 */ @@ -499,7 +499,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); }