Reports the allocations of memory (either new operator or malloc() function) that were not released before they become non-accessible.

Example:


  class MyClass {
      int* leakedField = new int;
  };

  void foo() {
      MyClass* c = new MyClass;
      delete c;
  }