summaryrefslogtreecommitdiff
path: root/output
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-07-14 14:47:04 -0400
committerH. Peter Anvin <hpa@zytor.com>2009-07-14 14:47:04 -0400
commit68bec0872f6274d74202f6d56e7709b557b1e124 (patch)
treebca4aff3e38ef9e041aba65caa544e4dc120f59d /output
parentb83fd0b9471057d333e7225e91ee2bba4e9c9e9f (diff)
downloadnasm-68bec0872f6274d74202f6d56e7709b557b1e124.tar.gz
nasm-68bec0872f6274d74202f6d56e7709b557b1e124.tar.bz2
nasm-68bec0872f6274d74202f6d56e7709b557b1e124.zip
outobj: don't fclose() the output
Missed fclose() in outobj when converting system to global fclose(). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'output')
-rw-r--r--output/outobj.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/output/outobj.c b/output/outobj.c
index 80b5492..7eb21cd 100644
--- a/output/outobj.c
+++ b/output/outobj.c
@@ -677,7 +677,6 @@ static void obj_cleanup(int debuginfo)
{
obj_write_file(debuginfo);
of_obj.current_dfmt->cleanup();
- fclose(ofp);
while (seghead) {
struct Segment *segtmp = seghead;
seghead = seghead->next;