From a3a46c21f0deb2840efed3780329418c0448ef66 Mon Sep 17 00:00:00 2001 From: FlavioJS Date: Wed, 13 Feb 2008 18:05:56 +0000 Subject: * Changes to memory manager: [FlavioJS] - fixed blocks that are fully used not being detected (and not freed) in memmgr_final (unfill_prev is NULL for unused blocks and full blocks) - fixed memmgr_final giving the wrong address to _mfree (for small blocks) - added the pointer address to most error messages (and log) - made it append to the log file instead of rewriting it - implemented a function to verify if a memory location is active - other minor changes git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12200 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/common/malloc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/common/malloc.h') diff --git a/src/common/malloc.h b/src/common/malloc.h index 1efc4686f..609f0a700 100644 --- a/src/common/malloc.h +++ b/src/common/malloc.h @@ -155,6 +155,7 @@ //////////////////////////////////////////////// +bool malloc_verify(void* ptr); unsigned int malloc_usage (void); void malloc_init (void); void malloc_final (void); -- cgit v1.2.3-70-g09d2