summaryrefslogtreecommitdiff
path: root/src/common/malloc.h
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-13 18:05:56 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-13 18:05:56 +0000
commita3a46c21f0deb2840efed3780329418c0448ef66 (patch)
tree3ece59fe88ce95f6cb55b39e346571c9b1d58277 /src/common/malloc.h
parent3c8b17a9300d36cf6241edb6751f26af3b262c1e (diff)
downloadhercules-a3a46c21f0deb2840efed3780329418c0448ef66.tar.gz
hercules-a3a46c21f0deb2840efed3780329418c0448ef66.tar.bz2
hercules-a3a46c21f0deb2840efed3780329418c0448ef66.tar.xz
hercules-a3a46c21f0deb2840efed3780329418c0448ef66.zip
* 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
Diffstat (limited to 'src/common/malloc.h')
-rw-r--r--src/common/malloc.h1
1 files changed, 1 insertions, 0 deletions
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);