Skip to content
Snippets Groups Projects
Commit 221b4382 authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

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

to Christian Costa).
parent b706b23a
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment