DELPHI AREA
MESSAGE BOARD
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   Favorites   Watched Topics     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Memory leak in TPrintPreview

 
   Reply to topic       DELPHI AREA Forum Index -> DELPHI AREA's Products
View previous topic :: View next topic  
Author Message
TGR
Member


Joined: 30 Sep 2004
Posts: 2

PostPosted: 30/09/04 12:56    Post subject: Memory leak in TPrintPreview Reply with quote

Memory Sleuth reported a a meory leak in TPrintPreview around line 2279 (in FetchFormNames).

I added a try... finally block freeing DeviceMode in the finally section.
Memory Sleuth seems to be happy...
Back to top
View user's profile
Kambiz
Administrator


Joined: 07 Mar 2003
Posts: 499
Location: Tehran, Iran

PostPosted: 01/10/04 10:03    Post subject: Reply with quote

The memory leak reported by Memory Sleuth is wrong, and DeviceMode should not be released.
Back to top
View user's profile Send e-mail Visit poster's website
TGR
Member


Joined: 30 Sep 2004
Posts: 2

PostPosted: 01/10/04 10:20    Post subject: Reply with quote

Ok. I know Memory Sleuth sometimes reports memory leaks in error. Thank you for clearing this up.
Back to top
View user's profile
Display posts from previous:   
   Reply to topic       DELPHI AREA Forum Index -> DELPHI AREA's Products All times are GMT
Page 1 of 1

Add to favorites

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group