Switched back to unified annotations.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11348
This commit is contained in:
Bart Van Assche
2010-09-09 10:12:43 +00:00
parent 19bc251432
commit 408b355cc9

View File

@@ -236,11 +236,11 @@ private:
if (m_count_ptr)
{
if (s_enable_annotations)
ANNOTATE_HAPPENS_BEFORE(m_count_ptr);
U_ANNOTATE_HAPPENS_BEFORE(m_count_ptr);
if (--(*m_count_ptr) == 0)
{
if (s_enable_annotations)
ANNOTATE_HAPPENS_AFTER(m_count_ptr);
U_ANNOTATE_HAPPENS_AFTER(m_count_ptr);
delete m_ptr;
m_ptr = NULL;
delete m_count_ptr;