The help on TStrings GetText says the caller needs to free the returned buffer. I have a memory checker that complains that I don't free the buffer.
char *tmpname;
tmpname = Msg->Lines->GetText();
... manipulate text...
free(tmpname);
What am I doing wrong??
Thanks
Deyzel
char *tmpname;
tmpname = Msg->Lines->GetText();
... manipulate text...
free(tmpname);
What am I doing wrong??
Thanks
Deyzel