Skip to content
New issue

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

errorcode returns add #5147

Closed
wants to merge 1 commit into from
Closed

Conversation

mcagriaksoy
Copy link
Contributor

Fixes #4178

Description of the Change
immediate return add after fault

Alternate Designs
does not have idea

Release Notes
immediate return add after fault

@@ -256,7 +256,7 @@ HRESULT CreateProcessWithExplorerIL(LPWSTR szProcessName, LPWSTR szCmdLine)
&ProcInfo
);
if(!bRet) {
hr = HRESULT_FROM_WIN32(GetLastError());
return(HRESULT_FROM_WIN32(GetLastError()));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At this moment hNewToken, hToken, hProcess won't be properly released

@AenBleidd AenBleidd marked this pull request as draft March 18, 2023 16:24
@AenBleidd
Copy link
Member

Closed in favor of #5170 with better implementation

@AenBleidd AenBleidd closed this Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Handle leak in launcher code
2 participants