aboutsummaryrefslogtreecommitdiff
path: root/sword1/memman.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sword1/memman.cpp')
-rw-r--r--sword1/memman.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sword1/memman.cpp b/sword1/memman.cpp
index 82e5fd7b8c..bee3c736ae 100644
--- a/sword1/memman.cpp
+++ b/sword1/memman.cpp
@@ -42,7 +42,7 @@ void MemMan::alloc(BsMemHandle *bsMem, uint32 pSize, uint16 pCond) {
warning("%d Bytes alloced as FREEABLE.", pSize); // why should one want to alloc mem if it can be freed?
addToFreeList(bsMem);
} else if (bsMem->next || bsMem->prev) // it's in our _freeAble list, remove it from there
- removeFromFreeList(bsMem);
+ removeFromFreeList(bsMem);
checkMemoryUsage();
}