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
https://github.com/giampaolo/psutil/blob/master/psutil/arch/windows/process_info.c#L436 Here is open process:
hProcess = psutil_handle_from_pid(pid);
and if all actions was succesful process handle not closing https://github.com/giampaolo/psutil/blob/master/psutil/arch/windows/process_info.c#L668
*pdata = buffer; *psize = size; return 0; error: if (hProcess != NULL) CloseHandle(hProcess); if (buffer != NULL) free(buffer); return -1; }
Only if errors occured.
The text was updated successfully, but these errors were encountered:
giampaolo#870: CloseHandle bugfix
7c36a63
Good catch. Up for making a PR? =)
Sorry, something went wrong.
Merge pull request #871 from xBeAsTx/bugfix_870
266a99d
#870: CloseHandle bugfix
Fixed in #871.
No branches or pull requests
https://github.com/giampaolo/psutil/blob/master/psutil/arch/windows/process_info.c#L436
Here is open process:
and if all actions was succesful process handle not closing https://github.com/giampaolo/psutil/blob/master/psutil/arch/windows/process_info.c#L668
Only if errors occured.
The text was updated successfully, but these errors were encountered: