Fix resources leak

svn path=/trunk/; revision=53767
This commit is contained in:
Pierre Schweitzer 2011-09-20 12:24:57 +00:00
parent 36dd857303
commit 0f93e9d566

View file

@ -65,6 +65,7 @@ int main(int argc, char* argv[])
output = fopen(argv[2], "w");
if (!output)
{
fclose(input);
fprintf(stderr, "Could not open output file '%s'\n", argv[2]);
return -1;
}