History log of /PHP-8.1/ext/date/tests/date_interval_bad_format_leak.phpt (Results 1 – 5 of 5)
Revision Date Author Comments
# 2f1d0f2b 07-May-2021 George Peter Banyard

Throw directly instead of replacing error handler in ext/date (#6954)


# 8e8a277b 14-Sep-2020 Máté Kocsis

Slightly improve error handling in DatePeriod::__construct()


# 988fc94b 27-Aug-2020 Nikita Popov

Fix leak on failed DatePeriod initialization

We need to free not only p here, but also b and e.


# 472fc3a2 30-Jan-2020 Nikita Popov

Fix leak in DatePeriod construction with invalid format

Same issue as I fixed in DateInterval construction before.


# 648f16c2 28-Jan-2020 Nikita Popov

Fix rel_date leak on DateInterval construction failure