diff -r d39add9822e2 -r 5bfc169077b2 webengine/osswebengine/MemoryManager/Src/fast_malloc.cpp --- a/webengine/osswebengine/MemoryManager/Src/fast_malloc.cpp Tue Feb 02 00:56:45 2010 +0200 +++ b/webengine/osswebengine/MemoryManager/Src/fast_malloc.cpp Fri Mar 19 09:52:28 2010 +0200 @@ -448,7 +448,7 @@ #include #include -#include +#include "MemoryManager.h" //#define OOM_LOGGING #include "MemoryLogger.h" @@ -5381,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)