mirror of
https://github.com/jmcnamara/libxlsxwriter
synced 2025-03-28 21:13:14 +00:00
Fix minor resource leak.
Coverity issue.
This commit is contained in:
parent
bcb97b0803
commit
11a89ec05a
@ -226,9 +226,9 @@ _write_image_files(lxw_packager *self)
|
||||
}
|
||||
|
||||
err = _add_file_to_zip(self, image_stream, filename);
|
||||
RETURN_ON_ERROR(err);
|
||||
|
||||
fclose(image_stream);
|
||||
|
||||
RETURN_ON_ERROR(err);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user