All announcements, questions and issues related to the TsiLang Components Suite.
-
svenheuer
- Posts: 12
- Joined: Sun Feb 18, 2007 3:54 pm
Post
by svenheuer »
Maybe in 6.2 i just found a memory leak in siComp.
Can you check the line 8203 - Lst.CommaText := Value;
The fastMM Memory manager complains about this line. Indeed I see a Lst := TStringList.Create; But no destroy code (on the first look).
Greetings
Sven
Update - i added a lst.free in the following try finally block and the memory manager feels happy. is this ok?
-
isiticov
- Site Admin
- Posts: 2416
- Joined: Thu Nov 21, 2002 3:17 pm
Post
by isiticov »
Indeed, this is a leak and thank you for reporting this. Your fix is OK.
Best regards,
Igor Siticov.
-
DavidD
- Posts: 17
- Joined: Wed Mar 07, 2007 9:19 pm
- Location: United States
Post
by DavidD »
This is on line 7999 in the 16-Nov-2006 version of siComp.
How often would this be called? It looks, maybe, like only on a Change Language event.
-
isiticov
- Site Admin
- Posts: 2416
- Joined: Thu Nov 21, 2002 3:17 pm
Post
by isiticov »
In quite rare cases upon language changing when you translate using Extended Translations and include the any multiline (TStrings) property.
Best regards,
Igor Siticov.