diff --git a/mythtv/libs/libmythbase/referencecounter.cpp b/mythtv/libs/libmythbase/referencecounter.cpp
index 09adc62..17b409e 100644
a
|
b
|
|
1 | 1 | // -*- Mode: c++ -*- |
2 | 2 | |
| 3 | #include <valgrind/helgrind.h> |
3 | 4 | #include <QString> |
4 | 5 | |
5 | 6 | #include "referencecounter.h" |
… |
… |
int ReferenceCounter::DecrRef(void) |
155 | 156 | #else |
156 | 157 | if (0 == val) |
157 | 158 | { |
| 159 | ANNOTATE_HAPPENS_AFTER(&m_referenceCount); |
| 160 | ANNOTATE_HAPPENS_BEFORE_FORGET_ALL(&m_referenceCount); |
158 | 161 | delete this; |
159 | 162 | return val; |
160 | 163 | } |
| 164 | else |
| 165 | ANNOTATE_HAPPENS_BEFORE(&m_referenceCount); |
161 | 166 | #endif |
162 | 167 | |
163 | 168 | return val; |