Commit 2fcecdb7 authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

ntdll: Avoid leaking activation context in RtlCreateUserThread. (Valgrind).

parent c936e505
...@@ -520,8 +520,6 @@ NTSTATUS WINAPI RtlCreateUserThread( HANDLE process, const SECURITY_DESCRIPTOR * ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment