Fixed a problem with the LoadTypeLib method.

This commit is contained in:
Francis Beaudet 1999-06-12 08:20:30 +00:00 committed by Alexandre Julliard
parent adf8a0cbe6
commit 98231044e3

View file

@ -1068,6 +1068,8 @@ int TLB_ReadTypeLib(PCHAR file, ITypeLib **ppTypeLib)
tlbSegDir.pImpInfo.res0c != 0x0F
) {
ERR( typelib,"cannot find the table directory, ptr=0x%lx\n",lPSegDir);
CloseHandle(cx.hFile);
return E_FAIL;
}
/* now fill our internal data */
/* TLIBATTR fields */