Memory leak in TStaticText
Original Reporter info from Mantis: Reinhard Berger
-
Reporter name:
Original Reporter info from Mantis: Reinhard Berger
- Reporter name:
Description:
ON GTK2 there is a memory leak on TSatic Text when the caption of it is empty.
Steps to reproduce:
Put a TStaticText control on the form and clear the caption property, run and close (exit) form and get memory leak
Additional information:
Tested with GTK2 32 bit on ubuntu 12.04
Copy & paste of console output from the demo program :
Heap dump by heaptrc unit
1631 memory blocks allocated : 1663889/1667712
1630 memory blocks freed : 1663885/1667704
1 unfreed memory blocks : 4
True heap size : 622592
True free heap : 622512
Should be : 622520
Call trace for block $B6DF50B0 size 4
$081AE689
$081AEB55
$082B0E0F
$081F14F7
$081F66DE
$081F6081
$081F4883
$081F6E14
Mantis conversion info:
- Mantis ID: 26909
- OS: Linux
- OS Build: 12.04
- Build: 46393
- Platform: GTK2
- Version: 1.2.7 (SVN)
- Fixed in version: 1.3 (SVN)
- Fixed in revision: 46631 (#874f3994)
- Target version: 1.2.8