Wrong handle was being closed.

This commit is contained in:
Josh Thielen 2001-08-11 18:24:01 +00:00 committed by Alexandre Julliard
parent 1ea54c608e
commit 378fc22b4a

View file

@ -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++)