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

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

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

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 4 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 4 Leaks are applicable to C++Builder 4 as a few changes were introduced into it by Borland.

FILE

PROCEDURE

forms.pas

new procedure added

 

TScreen.CreateCursors;

dbtables.pas

TBDEDataSet.FreeRecordBuffer

Delphi 4 Demos Leaks

FILE

PROCEDURE

fmsxutils.pas (filmanex.dpr)

GetFileSize

graphwin.pas (graphex.dpr)

FormCreate

 

New1Click

ipcthrd.pas

TClientDirectory.Destroy

 

TIPCThread.Destroy

rxmain.pas (resxplor.dpr)

TMainForm.Destroy

vlistview.pas (virtuallistview.dpr)

TForm1.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