AutomatedQA: Award-winning tools for software testing and quality assurance

Home » Support » Memory Leaks - Delphi 3 VCL Memory Leaks

Delphi 3 VCL Memory Leaks (Applicable to C++Builder 3)

Memory Leaks

Thanks to the work of Atanas Stoyanov and feedback from many loyal MemProof users, we have compiled a list of memory leaks in Delphi 3 and appropriate workarounds to eliminate them

WARNING: IF YOU WISH TO MODIFY VCL SOURCE CODE, YOU WILL NOT BE ABLE TO BUILD YOUR APPLICATION WITH RUN-TIME PACKAGES (THE FIXES LISTED BELOW APPLY ONLY WHEN LINKING THE VCL INTO YOUR APPLICATION). Note: Not all Delphi 3 Leaks are applicable to C++Builder 3 as a few changes were introduced into it by Borland.

 

FILE

PROCEDURE

controls.pas

THintWindow.WMNCPaint

forms.pas

UnhookHintHooks;

 

new procedure added

printers.pas

TPrinter.Destroy;

checklist.pas

new procedure added

classes.pas

unit finalization

comctrls.pas

TRichEditStrings.LoadFromFile TRichEditStrings.SaveToFile

registry.pas

TRegistry.CloseKey;

graphics.pas

TBitmap.SetPixelFormat

 

TBitmap.ReadDIB (5486)

 

TBitmap.ReadDIB (5507)

Delphi 3 Demos Leaks

FILE

PROCEDURE

ipcthrd.pas

TIPCThread.Destroy

 

TClientDirectory.Destroy

rxmain.pas

TMainForm.FormDestroy


For additional help on these and any other issues relating to memory leaks, please write to us at: support@automatedqa.com

Copyright © 1999-2008, AutomatedQA, Corp. All Rights Reserved.
Home | Legal | About | Contact | Site Map | Print