mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
fix memory leak for multiple status
This commit is contained in:
@ -341,6 +341,7 @@ static int CheckResponse(WOLFSSL_OCSP* ocsp, byte* response, int responseSz,
|
||||
}
|
||||
|
||||
/* Replace existing certificate entry with updated */
|
||||
newStatus->next = status->next;
|
||||
XMEMCPY(status, newStatus, sizeof(CertStatus));
|
||||
}
|
||||
else {
|
||||
|
Reference in New Issue
Block a user