Skip to main content

GC_find_leak

Static GC_find_leak 

Source
pub unsafe static mut GC_find_leak: c_int
Expand description

Turn on the find-leak mode (do not actually garbage collect, but simply report inaccessible memory that was not deallocated with GC_FREE() or friends). Initial value is determined by FIND_LEAK macro. The value should not typically be modified after the collector initialization (and, thus, it does not use or need synchronization). The mode is supported only if the library has been compiled without NO_FIND_LEAK macro defined.