Field editor memory leak
Original Reporter info from Mantis: Ask
-
Reporter name: Alexander S. Klenin
Original Reporter info from Mantis: Ask
- Reporter name: Alexander S. Klenin
Description:
Excerpt from the heap dump:
3 unfreed memory blocks : 104
Call trace for block $0EB75B08 size 64
$0040EAD8
$0040CC01
$00422EB5
$0040E56E
$00AAA7A6
$00AAD842
$0042AC64 TCUSTOMFORM__DOCREATE, line 875 of ./include/customform.inc
$00428D0B TCUSTOMFORM__AFTERCONSTRUCTION, line 79 of ./include/customform.inc
Call trace for block $0EBB4FA8 size 24
$0040CC01
$00422EB5
$0040E56E
$00AAA7A6
$00AAD842
$0042AC64 TCUSTOMFORM__DOCREATE, line 875 of ./include/customform.inc
$00428D0B TCUSTOMFORM__AFTERCONSTRUCTION, line 79 of ./include/customform.inc
$00AA3AE1 TNEWFIELDFRM__CREATE, line 158 of newfield.pas
Steps to reproduce:
- Put TSQLQuery on the form
- Start fields editor
- Press "New field" button
- On the "New field" form, press "Cancel"
- Exit Lazarus
=>
Apparently, "New field" form is leaked
Mantis conversion info:
- Mantis ID: 18669
- Target version: 0.99.0