diff -r e1bea15f9a39 -r 79859ed3eea9 webengine/osswebengine/MemoryManager/Src/fast_malloc.cpp --- a/webengine/osswebengine/MemoryManager/Src/fast_malloc.cpp Thu Aug 19 10:58:56 2010 +0300 +++ b/webengine/osswebengine/MemoryManager/Src/fast_malloc.cpp Tue Aug 31 16:17:46 2010 +0300 @@ -448,7 +448,7 @@ #include #include -#include +#include "MemoryManager.h" //#define OOM_LOGGING #include "MemoryLogger.h" @@ -3677,7 +3677,7 @@ return chunk2mem(v); } } -// CORRUPTION_ERROR_ACTION(m); + CORRUPTION_ERROR_ACTION(m); } return 0; } @@ -3716,8 +3716,9 @@ return chunk2mem(v); } } - //CORRUPTION_ERROR_ACTION(m); - //return 0; + + CORRUPTION_ERROR_ACTION(m); + return 0; } /* --------------------------- realloc support --------------------------- */ @@ -5380,13 +5381,13 @@ // global data and if closing util is not the last // one to be deleted, it will crash. Luckly enough // , it seems to be working fine and no crash so far. -/* struct ChunkClosingUtil { ~ChunkClosingUtil() { rchunk.Close(); } }; + static ChunkClosingUtil __gx_closing; -*/ + /* ----------------------------------------------------------------------- History: C2.8.2 Sun Jun 12 16:01:10 2005 Doug Lea (dl at gee)