Commit 98231044 authored by Francis Beaudet's avatar Francis Beaudet Committed by Alexandre Julliard

Fixed a problem with the LoadTypeLib method.

parent adf8a0cb
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment