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