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 type | Description |
|---|---|
| Memory | Heap allocations, virtual memory, and OLE memory (BSTR, SAFEARRAY, etc.) |
| GDI | GDI objects such as HBITMAP, HDC, HPEN, etc. |
| User32 | USER objects such as HICON, HCURSOR, etc. |
| Handles | File handles, events, mutexes, and other kernel objects |
| FileView | Views of file mappings |
| ActCtxCookie | Activation context cookies |
| Fiber | Fibers created by CreateFiber |
| CriticalSection | Critical sections where InitializeCriticalSection was called but DeleteCriticalSection was not |
| EnvironmentString | ANSI and Unicode environment strings |
| FlsSlot | Fiber Local Storage (FLS) slots |
| TlsSlot | Thread Local Storage (TLS) slots |
| Atom | Windows atoms |