mirror of
https://github.com/jmcnamara/libxlsxwriter.git
synced 2026-05-21 06:45:21 -06:00
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:
parent
8c43a996f8
commit
9936874ffa
1 changed files with 2 additions and 0 deletions
|
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue