Searched refs:numLeaks (Results 1 – 1 of 1) sorted by relevance
579 size_t numLeaks = 0; in checkAndLog() local606 log << TestLog::Message << "LEAK " << (numLeaks+1) << ": " << record << TestLog::EndMessage; in checkAndLog()607 numLeaks += 1; in checkAndLog()623 log << TestLog::Message << "LEAK " << (numLeaks+1) << ": " << totalAllocated in checkAndLog()626 numLeaks += 1; in checkAndLog()631 if (numLeaks > 0) in checkAndLog()632 log << TestLog::Message << "ERROR: Found " << numLeaks << " memory leaks!" << TestLog::EndMessage; in checkAndLog()634 return results.violations.empty() && numLeaks == 0; in checkAndLog()