Hi,
There’s a memory leak in TGHotString.
Example:
TGHotString *hot;
while(true) {
hot = new TGHotString(“x”);
delete hot;
}
There’s also a memory leak when I use it together with a TGLabel:
TGHotString *hot;
TGLabel *lab;
while(true) {
hot = new TGHotString(“x”);
lab = new TGLabel(p,hot);
delete lab;
}
I’m using the version 4.04.00 on windows.
Matthias