ntdll: Avoid leaking activation context in RtlCreateUserThread. (Valgrind).
This commit is contained in:
parent
c936e505e5
commit
2fcecdb72e
|
@ -520,8 +520,6 @@ NTSTATUS WINAPI RtlCreateUserThread( HANDLE process, const SECURITY_DESCRIPTOR *
|
|||
frame->ActivationContext = actctx;
|
||||
frame->Flags = 0;
|
||||
teb->ActivationContextStack.ActiveFrame = frame;
|
||||
|
||||
RtlAddRefActivationContext(actctx);
|
||||
}
|
||||
|
||||
info = (struct startup_info *)(teb + 1);
|
||||
|
|
Loading…
Reference in New Issue