We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quick.Process.GetProcessList creates a memory leak.
Quick.Process.GetProcessList creates
To avoid a memory-leak, implement a var parameter for an existing StringList, for example:
procedure GetProcessList (var MyStringList: TStringList);
This would allow freeing the String-List manually after use.
The text was updated successfully, but these errors were encountered:
GetProcessList doesn't creates a memory leak. It returns a TStringList and you must free after use. If you pass a var, you need to free also:
list := GetProcessList try ..your code finally list.Free; end;
Sorry, something went wrong.
No branches or pull requests
Quick.Process.GetProcessList creates
a memory leak.To avoid a memory-leak, implement a var parameter for an existing StringList, for example:
procedure GetProcessList (var MyStringList: TStringList);
This would allow freeing the String-List manually after use.
The text was updated successfully, but these errors were encountered: