summaryrefslogtreecommitdiff
path: root/doc/heap_checker.html
diff options
context:
space:
mode:
authorcsilvers <csilvers@6b5cf1ce-ec42-a296-1ba9-69fdba395a50>2008-02-13 00:55:09 +0000
committercsilvers <csilvers@6b5cf1ce-ec42-a296-1ba9-69fdba395a50>2008-02-13 00:55:09 +0000
commit8a0a3101bc6a7d56ac04b278f28bdf3f95b00a3c (patch)
tree46f871a3160a4023201d72b1b04a9a88e3d88b78 /doc/heap_checker.html
parentb43ba444fcd74fa7c3260f6b2494dcbaa3fdb296 (diff)
downloadgperftools-8a0a3101bc6a7d56ac04b278f28bdf3f95b00a3c.tar.gz
Tue Feb 12 12:28:32 2008 Google Inc. <opensource@google.com>
* google-perftools: version 0.95 release * Better -- not perfect -- support for linux-ppc (csilvers) * Fix race condition in libunwind stacktrace (aruns) * Speed up x86 spinlock locking (m3b) * Improve heap-checker performance (maxim) * Heap checker traverses more ptrs inside heap-alloced objects (maxim) * Remove deprecated ProfilerThreadState function (cgd) * Update libunwind documentation for statically linked binaries (aruns) git-svn-id: http://gperftools.googlecode.com/svn/trunk@44 6b5cf1ce-ec42-a296-1ba9-69fdba395a50
Diffstat (limited to 'doc/heap_checker.html')
-rw-r--r--doc/heap_checker.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/heap_checker.html b/doc/heap_checker.html
index 1ee2668..0b84c67 100644
--- a/doc/heap_checker.html
+++ b/doc/heap_checker.html
@@ -182,7 +182,7 @@ referred to in this file, are declared in
code that exercises some foo functionality;
this code should preserve memory allocation state;
}
- if (!heap_checker.SameHeap()) assert("" == "heap memory leak");
+ if (!heap_checker.SameHeap()) assert(NULL == "heap memory leak");
</pre>
<p>The various flavors of these functions -- <code>SameHeap()</code>,