ocsp: fix memory leaks in OpenSSL compat layer
This commit is contained in:
@@ -36967,6 +36967,7 @@ static int DecodeResponseData(byte* source, word32* ioIndex,
|
||||
XMEMSET(single->next->status, 0, sizeof(CertStatus));
|
||||
|
||||
single->next->isDynamic = 1;
|
||||
single->next->ownStatus = 1;
|
||||
|
||||
single = single->next;
|
||||
}
|
||||
@@ -37056,6 +37057,7 @@ static int DecodeResponseData(byte* source, word32* ioIndex,
|
||||
|
||||
/* Entry to be freed. */
|
||||
single->next->isDynamic = 1;
|
||||
single->next->ownStatus = 1;
|
||||
/* used will be 0 (false) */
|
||||
|
||||
single = single->next;
|
||||
|
||||
Reference in New Issue
Block a user