Inspection: Memory leak
As part of the Data flow analysis, CLion provides the Memory leak inspection, which detects possible memory leaks and helps you identify their origin.

The Memory leak inspection also reports the pointers that may point to deallocated memory:

You can change the severity and scope of this inspection in , the node:

Last modified: 11 February 2024