mirror of
https://github.com/openssl/openssl.git
synced 2024-11-28 20:44:10 +08:00
free() -> OPENSSL_free()
This commit is contained in:
parent
17ed6c06a7
commit
3f083ef0eb
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user