Commit 61955af7 authored by Alejandro Mery's avatar Alejandro Mery
Browse files

bin2fex: fixed bug close out when failed to open in the first place

parent 0f34fc7a
......@@ -267,6 +267,6 @@ usage:
if (in > 2) close(in);
done:
if (out != stdout) fclose(out);
if (out && out != stdout) fclose(out);
return ret;
}
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