This commit is contained in:
Glenn Maynard
2006-02-14 06:18:30 +00:00
parent 718bbd3ada
commit 3ddf9bc5e8
@@ -126,9 +126,10 @@ namespace VDDebugInfo
if( !ReadFile(h, pctx->pRawBlock, dwFileSize, &dwActual, NULL) || dwActual != dwFileSize )
break;
CloseHandle(h);
if( VDDebugInfoInitFromMemory(pctx, pctx->pRawBlock) )
{
CloseHandle(h);
return true;
}
@@ -136,7 +137,6 @@ namespace VDDebugInfo
} while(0);
VDDebugInfoDeinit(pctx);
CloseHandle(h);
return false;
}