diff options
Diffstat (limited to 'sword1/memman.cpp')
-rw-r--r-- | sword1/memman.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sword1/memman.cpp b/sword1/memman.cpp index f26c61b33c..08cb18e017 100644 --- a/sword1/memman.cpp +++ b/sword1/memman.cpp @@ -31,6 +31,9 @@ MemMan::MemMan(void) { } MemMan::~MemMan(void) { + flush(); + if (_alloced) + warning("deleting MemMan, still %d bytes alloced\n", _alloced); } void MemMan::alloc(MemHandle *bsMem, uint32 pSize, uint16 pCond) { |