Commit 221b4382 authored by Alexandre Julliard's avatar Alexandre Julliard

Don't free the stack selector, it's freed in ExitThread anyway (thanks

to Christian Costa).
parent b706b23a
......@@ -1179,9 +1179,6 @@ DWORD NE_StartTask(void)
pTask->hInstance = hInstance;
pTask->hPrevInstance = hPrevInstance;
/* Free the previous stack selector */
FreeSelector16( SELECTOROF(pTask->teb->cur_stack) );
/* Use DGROUP for 16-bit stack */
if (!(sp = pModule->sp))
......@@ -1777,4 +1774,3 @@ void WINAPI MapHInstSL_PN( CONTEXT86 *context )
{
if (context->Eax) context->Eax = MapHModuleSL(context->Eax);
}
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