Hello
I use the tools Leaks and Traces of lazarus, and say what exists memory leak in function copy.
I have the statement
executeCmd:=copy(dataString,2,(LastDelimiter('&&',dataString)-3));
where executeCmd is name of function returning a string, dataString is a concatenate of two preview strings.
I not understand why exists a memory leaks.
Also too show memeroy leak in the statement
executeCmd:=copy(dataString,2)
Any idea?, thank you.