Fix leak when breaking out of FilesystemIterator We need to always destroy current, not just when iter.data is not set. Take this opportunity to clean up the iterator destructor
Fix leak when breaking out of FilesystemIterator We need to always destroy current, not just when iter.data is not set. Take this opportunity to clean up the iterator destructor code a bit, to remove redundant checks and incorrect comments.
show more ...
|