mirror of https://github.com/wolfSSL/wolfssl.git
Merge pull request #8896 from holtrop/fix-asn-memory-leak
Fix memory leak in ParseCRL_Extensionspull/8906/head
commit
96a3591f98
|
@ -40601,6 +40601,7 @@ static int ParseCRL_Extensions(DecodedCRL* dcrl, const byte* buf, word32 idx,
|
||||||
dcrl->crlNumberSet = 1;
|
dcrl->crlNumberSet = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mp_free(m);
|
||||||
FREE_MP_INT_SIZE(m, NULL, DYNAMIC_TYPE_TMP_BUFFER);
|
FREE_MP_INT_SIZE(m, NULL, DYNAMIC_TYPE_TMP_BUFFER);
|
||||||
}
|
}
|
||||||
/* TODO: check criticality */
|
/* TODO: check criticality */
|
||||||
|
|
Loading…
Reference in New Issue