Fix for open tmpfiles in constant_memory mode.

Use implicit close for all tmpfiles in constant_memory mode.

Issue #1.
This commit is contained in:
John McNamara 2015-02-23 20:39:47 +00:00
parent 8c43a996f8
commit 9936874ffa

View file

@ -677,6 +677,8 @@ _worksheet_write_optimized_sheet_data(lxw_worksheet *self)
fwrite(buffer, 1, read_size, self->file);
}
fclose(self->optimize_tmpfile);
_xml_end_tag(self->file, "sheetData");
}
}