Avemey / zexmlss

ZEXMLSS Lazarus/Delphi component for read/write ods, excel xml, xlsx
http://avemey.com/zexmlss/index.php
Other
71 stars 52 forks source link

fixed file streams not freed #32

Closed MtwStark closed 4 years ago

MtwStark commented 4 years ago

in function ExportXmlssToXLSX, sub function _AddFile, if AllowUnzippedFolder is true (i.e. when called from SaveXmlssToXLSXPath) all the streams generated for the files in the xlxs temp build folder are not released and following tries to delete or access them will fail.

I have only added a single line of code after line 7329 but due to different code page github recorded 835 edits :(

I'm sorry for my poor english (I'm italian)

Avemey commented 4 years ago

PR has broken cyrillic text so i add just one fixed line in separate commit. Thank you!

PS: i should to change all cyrillic comments to latin (English) to avoid problems with non cyrillic authors.