If any leaks are detected, prints a leak report and returns true. This function may be called repeatedly, and does not affect end-of-process leak checking.
Declared in <absl/debugging/leak_check.h>
bool
FindAndReportLeaks();
Example: if (FindAndReportLeaks()) { ... diagnostic already printed. Exit with failure code. exit(1) }
True if any leaks were detected.