Commit Graph

1 Commits (51dae22828b76c12003ba966c8ec17c17d10c233)

Author SHA1 Message Date
Matthew Waters cbcaa107eb cfileio: fix leaks by not closing files in the destructor
Numerous importers rely on the default C++ IOSystem implementation
having the destructor close the file for them.  The C IOSystem wrapper
wasn't and instead assumed that the Close() method was going to be
called.

This brings the C IOSystem wrapper in line with the default C++ IOSystem
by having the destructor close the file.
2016-10-18 00:35:56 +11:00