diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2021-02-15 10:36:48 +0100 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2021-02-15 10:37:59 +0100 |
| commit | 44a80b64b918ff64a4e5bbcef43f00dfe0fcde27 (patch) | |
| tree | 5e2454ccfe6aeaf9e68f380fe6a3d53ef87d1391 /Zend/zend_builtin_functions.c | |
| parent | c34c5234678a5898c1796983e9ca8faa293f3fe3 (diff) | |
| download | php-git-44a80b64b918ff64a4e5bbcef43f00dfe0fcde27.tar.gz | |
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.
Diffstat (limited to 'Zend/zend_builtin_functions.c')
0 files changed, 0 insertions, 0 deletions
