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

to Christian Costa).
This commit is contained in:
Alexandre Julliard 2002-06-04 17:55:48 +00:00
parent b706b23a10
commit 221b438287
1 changed files with 0 additions and 4 deletions

View File

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