mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-09 05:10:23 +00:00
Switched back to unified annotations.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11348
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user