summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2006-12-15 09:19:27 +0000
committerChris Wilson <chris+github@qwirx.com>2006-12-15 09:19:27 +0000
commit9c799b67a6ce53b0d999c280915e8a618ae04756 (patch)
tree147ac0b8c6c56d0d857060265adc60251be96837
parenta794865079497b8988b87529867299d7fa057ba7 (diff)
Disable standard library memory leak debugging, as it causes hangs on FC2
-rw-r--r--lib/common/DebugMemLeakFinder.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/common/DebugMemLeakFinder.cpp b/lib/common/DebugMemLeakFinder.cpp
index 26cfcbf4..fbc684e8 100644
--- a/lib/common/DebugMemLeakFinder.cpp
+++ b/lib/common/DebugMemLeakFinder.cpp
@@ -461,10 +461,14 @@ void *operator new[](size_t size, const char *file, int line)
// where there is no doctor... need to override standard new() too
// http://www.relisoft.com/book/tech/9new.html
+// disabled because it causes hangs on FC2 in futex() in test/common
+// while reading files. reason unknown.
+/*
void *operator new(size_t size)
{
return internal_new(size, "standard libraries", 0);
}
+*/
void *operator new[](size_t size)
{