• Documentation
  • Download
  • Changelog
  • Introduction
  • Tutorial
  • API Reference
Show / Hide Table of Contents
  • System Requirements
  • Installation
    • Installation Troubleshooting
  • How to find a memory leak
  • Using Deleaker in Visual C++
  • Using Deleaker in Delphi
  • Using Deleaker in C++ Builder
  • Using Deleaker in Qt Creator
  • User Interface
    • Allocations
    • Modules
    • Options
      • Settings
      • Exceptions
      • Symbols
  • API Reference
    • Client API
      • Functions
        • DeleakerClientApi_IgnoreLeaks
        • DeleakerClientApi_TakeSnapshot
        • DeleakerClientApi_TakeSnapshotForCurrentThread
        • DeleakerClientApi_TakeSnapshotForProcessThread
      • Classes
        • CIgnoreLeaks
  • Floating License Server
  • Command Line Tools
    • DeleakerConsole.exe
  • License

CIgnoreLeaks

Description

This class helps ignore leaks in some block:

#include "DeleakerClientApi.h"
 
Singleton* _singleton;
 
void f()
{
    // This is a block, allocations of which are not being monitored by Deleaker
    // because of DeleakerClientApi::CIgnoreLeaks instance
    {
        DeleakerClientApi::CIgnoreLeaks IgnoreLeaks;
 
        _singleton = new Singleton(); // I don't want to view this leak in the Deleaker report
    }
}

See Also

  • DeleakerClientApi_IgnoreLeaks
Back to top Deleaker | Download | Buy | Contact us | Copyright © Softanics | Generated by DocFX