krnl386.exe: Ignore non-resident name table if value is invalid.

Watcom C++ apparently screws this up.
This commit is contained in:
Alexandre Julliard 2010-06-30 21:05:03 +02:00
parent 009c59afb8
commit 2286267aad

View file

@ -728,7 +728,7 @@ static HMODULE16 build_module( const void *mapping, SIZE_T mapping_size, LPCSTR
if (!NE_READ_DATA( pModule, buffer, ne_header->ne_nrestab, ne_header->ne_cbnrestab ))
{
GlobalFree16( pModule->nrname_handle );
goto failed;
pModule->nrname_handle = 0;
}
}
else pModule->nrname_handle = 0;