NOISSUE fix benign issue in pack200 unpacker binary.

This commit is contained in:
Petr Mrázek 2017-04-19 22:09:34 +02:00
parent 60777ad8ce
commit e9a6199507

View File

@ -16,15 +16,15 @@ int main(int argc, char **argv)
}
FILE *input = fopen(argv[1], "rb");
FILE *output = fopen(argv[2], "wb");
if (!input)
{
std::cerr << "Can't open input file";
return EXIT_FAILURE;
}
FILE *output = fopen(argv[2], "wb");
if (!output)
{
fclose(output);
fclose(input);
std::cerr << "Can't open output file";
return EXIT_FAILURE;
}