| View previous topic :: View next topic |
| Author |
Message |
TGR Member
Joined: 30 Sep 2004 Posts: 2
|
Posted: 30/09/04 12:56 Post subject: Memory leak in TPrintPreview |
|
|
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 |
|
 |
Kambiz Administrator
Joined: 07 Mar 2003 Posts: 499 Location: Tehran, Iran
|
Posted: 01/10/04 10:03 Post subject: |
|
|
| The memory leak reported by Memory Sleuth is wrong, and DeviceMode should not be released. |
|
| Back to top |
|
 |
TGR Member
Joined: 30 Sep 2004 Posts: 2
|
Posted: 01/10/04 10:20 Post subject: |
|
|
| Ok. I know Memory Sleuth sometimes reports memory leaks in error. Thank you for clearing this up. |
|
| Back to top |
|
 |
|