diff options
author | Gustavo André dos Santos Lopes <cataphract@php.net> | 2012-05-24 10:44:44 +0200 |
---|---|---|
committer | Gustavo André dos Santos Lopes <cataphract@php.net> | 2012-05-24 11:06:21 +0200 |
commit | 2da2de46a8dc9d44b624c40adb0d6bf698567167 (patch) | |
tree | d05be33e6507ed15e0d85c7facca6acfd3714c0b /ext/intl/php_intl.h | |
parent | e08566c6139461db9dbf0f6c2e870d67923ee587 (diff) | |
download | php-git-2da2de46a8dc9d44b624c40adb0d6bf698567167.tar.gz |
Fixed bug #60785
Memory leak in IntlDateFormatter constructor.
udat_setCalendar() clones the calendar before it adopts it,
so we were leaking the original calendar.
Also we now validate the calendar type.
Diffstat (limited to 'ext/intl/php_intl.h')
0 files changed, 0 insertions, 0 deletions