From 378fc22b4a0ed0068d26fa850eb9f8afb1822212 Mon Sep 17 00:00:00 2001 From: Josh Thielen Date: Sat, 11 Aug 2001 18:24:01 +0000 Subject: [PATCH] Wrong handle was being closed. --- loader/ne/segment.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loader/ne/segment.c b/loader/ne/segment.c index 76f1442fd0e..0b5ad4ee68b 100644 --- a/loader/ne/segment.c +++ b/loader/ne/segment.c @@ -453,7 +453,7 @@ BOOL NE_LoadAllSegments( NE_MODULE *pModule ) pModule->self,hFile16); NE_CallTo16_word_ww(selfloadheader->BootApp, pModule->self,hFile16); TRACE_(dll)("Return from CallBootAppProc\n"); - _lclose16(hf); + _lclose16(hFile16); NtCurrentTeb()->cur_stack = oldstack; for (i = 2; i <= pModule->seg_count; i++)