From 221b438287a1b90416ac2e996549aed4dbf7cc82 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 4 Jun 2002 17:55:48 +0000 Subject: [PATCH] Don't free the stack selector, it's freed in ExitThread anyway (thanks to Christian Costa). --- loader/ne/module.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/loader/ne/module.c b/loader/ne/module.c index 2eebe40f71..0c4053dcc8 100644 --- a/loader/ne/module.c +++ b/loader/ne/module.c @@ -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); } - -- 2.32.0.93.g670b81a890