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>
This commit is contained in:
H. Peter Anvin 2009-07-14 14:47:04 -04:00
parent b83fd0b947
commit 68bec0872f

View File

@ -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;