summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-02-12 09:54:52 +0100
committerNikita Popov <nikita.ppv@gmail.com>2019-02-12 09:54:52 +0100
commita109fddba4e3fbb6e3a2e008c0fa20a57f26103d (patch)
tree5f335a2521c081dbce7d1c44aff759564459dcf0 /ext/reflection/php_reflection.c
parentc4294440ffc4a59a1298292b76072e6759034a68 (diff)
downloadphp-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