summaryrefslogtreecommitdiff
path: root/src/context/context.h
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2011-06-06 21:37:23 +0000
committerMorgan Deters <mdeters@gmail.com>2011-06-06 21:37:23 +0000
commite64686fed86068e977ac84c5776438935f446f00 (patch)
tree455592297e26e3ac84a8027db0e70e74dc3ecdc7 /src/context/context.h
parentdaa163e694d257ffe8ba7ae8ccb240bcbfb1c276 (diff)
Fix for Mac OS breakage (x86 didn't crash, but probably would, eventually, on some problems---valgrind gave many complaints): the problem was that calloc() (in the Backtracker) wasn't allocating enough space for the type located at the resulting address. Resolves bug #263.
Also, some debugging improvements.
Diffstat (limited to 'src/context/context.h')
-rw-r--r--src/context/context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/context/context.h b/src/context/context.h
index aabe4e7c2..6375707b9 100644
--- a/src/context/context.h
+++ b/src/context/context.h
@@ -577,7 +577,7 @@ public:
* ContextMemoryManager as an argument.
*/
void deleteSelf() {
- Debug("context") << "deleteSelf(" << this << ")" << std::endl;
+ Debug("context") << "deleteSelf(" << this << ") " << typeid(*this).name() << std::endl;
this->~ContextObj();
::operator delete(this);
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback