Register an expected memory leak.
Unit
EMemLeaks
Syntax
Code (Delphi)
|
function EurekaRegisterExpectedMemoryLeak(
P: Pointer
): Boolean;
|
Parameters
P [in]
A pointer to memory block of expected leak.
Return value
Indicate if leak was registered successfully. A False value usually indicate that this block was already registered.
Remarks
This function registers a particular memory block to be excluded from memory leaks report. This feature can be used to skip reporting for "leaks by design" or for bugs in 3rd party code over which you have no control.
This function is used to exclude already allocated blocks. Thus, this function is usually used to register leaks from 3rd party code. To register expected leaks in your own code - you can use either this function or DisableMemLeaksRegistering function.
See also
Send feedback...
|
Build date: 2024-12-19
Last edited: 2024-12-19
|
PRIVACY STATEMENT
The documentation team uses the feedback submitted to improve the EurekaLog documentation.
We do not use your e-mail address for any other purpose.
We will remove your e-mail address from our system after the issue you are reporting has been resolved.
While we are working to resolve this issue, we may send you an e-mail message to request more information about your feedback.
After the issues have been addressed, we may send you an email message to let you know that your feedback has been addressed.
Permanent link to this article: https://www.eurekalog.com/help/eurekalog/topic_function_ememleaks_eurekaregisterexpectedmemoryleak.php
|
|