mirror of
https://github.com/reactos/reactos.git
synced 2025-06-25 23:29:42 +00:00
parent
c741b1c185
commit
f5b10b4d0d
1 changed files with 2 additions and 0 deletions
|
@ -414,6 +414,7 @@ bool CCabinet::SetCabinetReservedFile(char* FileName)
|
||||||
if (CabinetReservedFileSize == (ULONG)-1)
|
if (CabinetReservedFileSize == (ULONG)-1)
|
||||||
{
|
{
|
||||||
DPRINT(MIN_TRACE, ("Cannot read from cabinet reserved file.\n"));
|
DPRINT(MIN_TRACE, ("Cannot read from cabinet reserved file.\n"));
|
||||||
|
fclose(FileHandle);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1761,6 +1762,7 @@ bool CCabinet::CreateSimpleCabinet()
|
||||||
if(Status != CAB_STATUS_SUCCESS)
|
if(Status != CAB_STATUS_SUCCESS)
|
||||||
{
|
{
|
||||||
DPRINT(MIN_TRACE, ("Cannot add file to cabinet (%u).\n", (UINT)Status));
|
DPRINT(MIN_TRACE, ("Cannot add file to cabinet (%u).\n", (UINT)Status));
|
||||||
|
FindClose(hFind);
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue