unity_utils_set_leak_level() function
Adjust the allowed memory leak thresholds for unit tests. Usually, unit tests will check if memory is leaked. Some functionality used by unit tests may unavoidably leak memory. This function allows to adjust that memory leak threshold.
Syntax
void unity_utils_set_leak_level(size_t leak_level); Arguments
leak_level
Maximum allowed memory leak which will not trigger a unit test failure.