Don't try to fclose() the output if ofile is NULL
commitbf0247af7a7eac9ea50687148935c7d9af32577c
authorH. Peter Anvin <hpa@zytor.com>
Tue, 14 Jul 2009 18:47:41 +0000 (14 14:47 -0400)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 14 Jul 2009 18:47:41 +0000 (14 14:47 -0400)
treebf66267ed68fa83c193066bc5a13885989395a5a
parent68bec0872f6274d74202f6d56e7709b557b1e124
Don't try to fclose() the output if ofile is NULL

ofile == NULL means no output file is open, so don't try to close the
output file if that is true.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
nasm.c