|
From: <sv...@va...> - 2009-02-21 12:29:31
|
Author: sewardj
Date: 2009-02-21 11:52:27 +0000 (Sat, 21 Feb 2009)
New Revision: 9210
Log:
merge bug-fix components of r9106:
Fix a minor bug, whereby a stack entry of zero would cause a "(heap
allocation functions)" line to be written.
Modified:
branches/VALGRIND_3_4_BRANCH/massif/ms_main.c
Modified: branches/VALGRIND_3_4_BRANCH/massif/ms_main.c
===================================================================
--- branches/VALGRIND_3_4_BRANCH/massif/ms_main.c 2009-02-21 09:45:38 UTC (rev 9209)
+++ branches/VALGRIND_3_4_BRANCH/massif/ms_main.c 2009-02-21 11:52:27 UTC (rev 9210)
@@ -1925,7 +1925,7 @@
switch (sxpt->tag) {
case SigSXPt:
// Print the SXPt itself.
- if (sxpt->Sig.ip == 0) {
+ if (0 == depth) {
ip_desc =
"(heap allocation functions) malloc/new/new[], --alloc-fns, etc.";
} else {
|