[#absl-FindAndReportLeaks] = xref:absl.adoc[absl]::FindAndReportLeaks :relfileprefix: ../ :mrdocs: 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. == Synopsis Declared in `<absl/debugging/leak_check.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool FindAndReportLeaks(); ---- == Description Example: if (FindAndReportLeaks()) { ... diagnostic already printed. Exit with failure code. exit(1) } == Return Value True if any leaks were detected. [.small]#Created with https://www.mrdocs.com[MrDocs]#