Jump to content


Photo

TAlertView: Memory Leak


  • Please log in to reply
1 reply to this topic

#1 steki

steki
  • Members
  • 10 posts

Posted 05 February 2006 - 01:48 AM

Hi,

there is a small Memory Leak in TAlertView.
I used fastmm4 (http://sourceforge.n...lease_id=389952) to find these leaks. Could you please check this.

regards
stefan

Stack trace of when this block was allocated (return addresses):
4029FB [System][@GetMem]
403A83 [System][TObject.NewInstance]
403E52 [System][@ClassCreate]
459457 [Graphics][TBitmap.Create]
455615 [Graphics][TCanvas.GetPixel]
4596C9 [Graphics][TBitmap.Changed]
4A929A [NxCollection.pas][NxCollection][TNxAlertWindow.Create][741]
44C160 [Classes][CreateComponent]
44C391 [Classes][TReader.ReadComponent]

--------------------------------2006/2/4 23:38:53--------------------------------
This application has leaked memory. The small block leaks are (excluding expected leaks registered by pointer):

53 - 68 bytes: TBitmap x 2
101 - 116 bytes: TBitmapImage x 2

#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,289 posts
  • Gender:Male

Posted 05 February 2006 - 04:34 AM

Hello,

I have fixed it. Thank you.

regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users