diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-02-12 09:54:52 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-02-12 09:54:52 +0100 |
commit | a109fddba4e3fbb6e3a2e008c0fa20a57f26103d (patch) | |
tree | 5f335a2521c081dbce7d1c44aff759564459dcf0 /ext/reflection/php_reflection.c | |
parent | c4294440ffc4a59a1298292b76072e6759034a68 (diff) | |
download | php-git-a109fddba4e3fbb6e3a2e008c0fa20a57f26103d.tar.gz |
Remove "defensive copy" of DatePeriod properties
get_properties() constructs these as fresh objects with no relation
to the internals, there is no need to clone them again. Additionally
the current implementation leaks memory, because the original objects
are never freed (see PR #3121).
Diffstat (limited to 'ext/reflection/php_reflection.c')
0 files changed, 0 insertions, 0 deletions