Reserve 10KB for error reporting.
The build was successful.
Details
The build was successful.
Details
This commit is contained in:
parent
8fcb3c608a
commit
383fe01943
|
@ -115,7 +115,7 @@ static const SyMemMethods sOSAllocMethods = {
|
|||
0
|
||||
};
|
||||
static sxi32 MemBackendCalculate(SyMemBackend *pBackend, sxi32 nBytes) {
|
||||
if(pBackend->pHeap->nLimit && (pBackend->pHeap->nSize + nBytes > pBackend->pHeap->nLimit)) {
|
||||
if(pBackend->pHeap->nLimit && (pBackend->pHeap->nSize + nBytes > pBackend->pHeap->nLimit - 10240)) {
|
||||
if(pBackend->xMemError) {
|
||||
pBackend->xMemError(pBackend->pUserData);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue