summaryrefslogtreecommitdiff
path: root/libs/JSystem/src/JKernel
diff options
context:
space:
mode:
Diffstat (limited to 'libs/JSystem/src/JKernel')
-rw-r--r--libs/JSystem/src/JKernel/JKRExpHeap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/JSystem/src/JKernel/JKRExpHeap.cpp b/libs/JSystem/src/JKernel/JKRExpHeap.cpp
index 1c6d16c1a9..1f570dd421 100644
--- a/libs/JSystem/src/JKernel/JKRExpHeap.cpp
+++ b/libs/JSystem/src/JKernel/JKRExpHeap.cpp
@@ -464,7 +464,7 @@ void JKRExpHeap::do_freeAll() {
JKRHeap::callAllDisposer();
mHeadFreeList = (CMemBlock*)mStart;
mTailFreeList = mHeadFreeList;
- mHeadFreeList->initiate(NULL, NULL, mSize - 0x10, 0, 0);
+ mHeadFreeList->initiate(NULL, NULL, mSize - sizeof(CMemBlock), 0, 0);
mHeadUsedList = NULL;
mTailUsedList = NULL;
#if DEBUG