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.

Sign-up now for a free 30 day trial -
no strings attached, we even include
free technical support.

Follow Us

Join our community of like minded
individuals and be the first to hear
about products, news and deals.

Newsletter


AQtime Pro is a performance profiler and memory and resource allocation debugger for 32-bit and 64-bit Windows, .NET-connected, Java and Silverlight applications as well as VBScript and JScript code.

Community
Join our community of 100,000 developers and testers. Sign up for our newsletter, visit us on Facebook or Twitter.
Join Now...
 

+1 978-236-7900

© 2012 SmartBear Software. All rights reserved.
Home | Privacy | Terms of Use | About | Contact Us | Site Map | Print