System.RegisterExpectedMemoryLeak

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function RegisterExpectedMemoryLeak(P: Pointer): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall RegisterExpectedMemoryLeak(void * P);

Properties

Type Visibility Source Unit Parent
function public
System.pas
System.hpp
System System

Description

Registers an expected memory leak.

RegisterExpectedMemoryLeak registers a memory location that an application has allocated and does not expect to free.

Platform Support

The memory manager only supports the Windows platform. Calling RegisterExpectedMemoryLeak has no effect on other platforms, which use the Posix/32 memory manager.

See Also