Commit 43ffbe56 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

oleaut32: Fix remaining memory leak (coverity).

parent 2d3f3204
......@@ -4079,6 +4079,7 @@ static ITypeLib2* ITypeLib2_Constructor_SLTG(LPVOID pLib, DWORD dwTLBLength)
pTIHeader = pBlk;
if(pTIHeader->magic != SLTG_TIHEADER_MAGIC) {
FIXME_(typelib)("TypeInfoHeader magic = %04x\n", pTIHeader->magic);
heap_free(pOtherTypeInfoBlks);
return NULL;
}
TRACE_(typelib)("pTIHeader->res06 = %x, pTIHeader->res0e = %x, "
......
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