nw::demo::DebugUtility::TestMemoryLeak Member Function

Syntax

static bool TestMemoryLeak();

Arguments

None.

Return Values

Returns true if the memory volume matches than when the ResetMemoryLeakTester function was executed. If not, returns false.

Description

Tests for memory leaks.

Compares the memory volume with that when the ResetMemoryLeakTester function was last executed. If the memory volume does not match that from execution of ResetMemoryLeakTester this function outputs a heap dump.


CONFIDENTIAL