mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-30 09:52:14 +01:00
Clean up memory leaks
This commit is contained in:
@@ -1565,11 +1565,9 @@ int wolfSSL_X509V3_EXT_print(WOLFSSL_BIO *out, WOLFSSL_X509_EXTENSION *ext,
|
||||
{
|
||||
char* asn1str;
|
||||
asn1str = wolfSSL_i2s_ASN1_STRING(NULL, str);
|
||||
if ((tmpLen = XSNPRINTF(
|
||||
tmp, tmpSz, "%*s%s", indent, "", asn1str))
|
||||
>= tmpSz)
|
||||
return rc;
|
||||
tmpLen = XSNPRINTF(tmp, tmpSz, "%*s%s", indent, "", asn1str);
|
||||
XFREE(asn1str, NULL, DYNAMIC_TYPE_TMP_BUFFER);
|
||||
if (tmpLen >= tmpSz) return rc;
|
||||
break;
|
||||
}
|
||||
case AUTH_INFO_OID:
|
||||
|
||||
Reference in New Issue
Block a user