Introduction

Deleaker is a tool for Visual C++, .NET, and Delphi developers designed to help detect various types of leaks, including memory and resource leaks, in application code. For each detected leak, it shows a full call stack. Whenever possible, it also displays the exact source file and line number. Numerous configuration options allow leaks to be found quickly and efficiently.

Deleaker can monitor both 32-bit and 64-bit applications and supports all versions of Visual Studio starting with Visual Studio 2005, as well as Qt Creator and Delphi / C++Builder / RAD Studio.

The following leak types are supported:

Leak typeDescription
MemoryHeap allocations, virtual memory, and OLE memory (BSTR, SAFEARRAY, etc.)
GDIGDI objects such as HBITMAP, HDC, HPEN, etc.
User32USER objects such as HICON, HCURSOR, etc.
HandlesFile handles, events, mutexes, and other kernel objects
FileViewViews of file mappings
ActCtxCookieActivation context cookies
FiberFibers created by CreateFiber
CriticalSectionCritical sections where InitializeCriticalSection was called but DeleteCriticalSection was not
EnvironmentStringANSI and Unicode environment strings
FlsSlotFiber Local Storage (FLS) slots
TlsSlotThread Local Storage (TLS) slots
AtomWindows atoms