UnsafeUtility.CheckForLeaks

Declaration

public static int CheckForLeaks();

Returns

int The number of leaks found.

Description

Gets a list of memory leaks.

Any memory allocated before this call that hasn't already been freed, is assumed to have leaked.


Did you find this page useful? Please give it a rating: