unity_utils_check_leak() function
Calculate leaks and check they are below against a threshold This function is for internal use, users shouldn't have a reason to call this. Calculates the leak from \c before_free and \c after_free and checks that the difference does not exceed \c threshold. It uses a unity assert to to the check and report in case of failure. A summary of the leaked data will be printed in all cases.
unity_utils_check_leak() is called by 1 function and calls 2 functions:
![]()
unity_utils_check_leak()
unity_utils_check_leak():
![]()
unity_utils_check_leak()