MCPcopy Create free account
hub / github.com/cpputest/cpputest / retrieveNode

Method retrieveNode

src/CppUTest/MemoryLeakDetector.cpp:329–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327}
328
329MemoryLeakDetectorNode* MemoryLeakDetectorList::retrieveNode(char* memory)
330{
331 MemoryLeakDetectorNode* cur = head_;
332 while (cur) {
333 if (cur->memory_ == memory)
334 return cur;
335 cur = cur->next_;
336 }
337 return NULLPTR;
338}
339
340MemoryLeakDetectorNode* MemoryLeakDetectorList::getLeakFrom(MemoryLeakDetectorNode* node, MemLeakPeriod period)
341{

Callers 1

invalidateMemoryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected