We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1f1e5b commit c30842fCopy full SHA for c30842f
cpputest-for-qpcpp-lib/src/cms_cpputest_qf_ctrl.cpp
@@ -101,11 +101,11 @@ void Teardown()
101
102
QF::stop();
103
104
- bool leakDetected = false;
105
-
106
// No test should complete with allocated events sitting
107
// in a memory pool.
108
if (l_pubSubEventMemPoolConfigs != nullptr) {
+ bool leakDetected = false;
+
109
if (l_memPoolOption == MemPoolTeardownOption::CHECK_FOR_LEAKS) {
110
for (size_t i = 0; i < l_pubSubEventMemPoolConfigs->size(); ++i) {
111
0 commit comments