X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=HeapProfiler.cpp;fp=HeapProfiler.cpp;h=63342a4840bd16a77476bff6521cd152cfa1fabf;hb=d803eb57379cc214baf969d0eb6f06177f5c1ffc;hp=7091a5344f18ecf92560009aa2552b57f6103782;hpb=37830ca9a16449ed145da79c80e7a37b465e4816;p=SXSI%2FTextCollection.git diff --git a/HeapProfiler.cpp b/HeapProfiler.cpp index 7091a53..63342a4 100644 --- a/HeapProfiler.cpp +++ b/HeapProfiler.cpp @@ -27,7 +27,7 @@ unsigned long HeapProfiler::consumption = 0, HeapProfiler::maxConsumption = 0; AllocatedBlocks HeapProfiler::blocks; // Override initialising hook from the C library. -void (* volatile __malloc_initialize_hook) (void) = HeapProfiler::InitHooks; +//void (* volatile __malloc_initialize_hook) (void) = HeapProfiler::InitHooks; // Variables to save original hooks. void *(*HeapProfiler::old_malloc_hook)(size_t, const void *);