Memory leak in TPrintPreview

Please post bug reports, feature requests, or any question regarding the DELPHI AREA products here.

Memory leak in TPrintPreview

Postby TGR » September 30th, 2004, 12:56 pm

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...
TGR
Member
Member
 
Posts: 2
Joined: September 30th, 2004, 12:51 pm

Postby Kambiz » October 1st, 2004, 10:03 am

The memory leak reported by Memory Sleuth is wrong, and DeviceMode should not be released.
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2405
Joined: March 7th, 2003, 7:10 pm

Postby TGR » October 1st, 2004, 10:20 am

Ok. I know Memory Sleuth sometimes reports memory leaks in error. Thank you for clearing this up.
TGR
Member
Member
 
Posts: 2
Joined: September 30th, 2004, 12:51 pm


Return to DELPHI AREA Products

Who is online

Users browsing this forum: No registered users and 1 guest

cron