Edit report at https://bugs.php.net/bug.php?id=62081&edit=1
ID: 62081 Updated by: cataphr...@php.net Reported by: fel...@php.net Summary: IntlDateFormatter constructor leaks memory when called twice -Status: Open +Status: Closed Type: Bug Package: I18N and L10N related Operating System: Linux PHP Version: Irrelevant -Assigned To: +Assigned To: cataphract Block user comment: N Private report: N New Comment: This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. For Windows: http://windows.php.net/snapshots/ Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2012-05-23 11:30:39] cataphr...@php.net Automatic comment on behalf of cataphract Revision: http://git.php.net/?p=php-src.git;a=commit;h=07c0d714a59cb4d38664008a165bacafd754fac2 Log: Fixed bug #62081 ------------------------------------------------------------------------ [2012-05-20 19:35:30] fel...@php.net Description: ------------ See below: Test script: --------------- <?php $x = new IntlDateFormatter(1,1,1,1,1); $x->__construct(1,1,1,1,1); Actual result: -------------- [Sun May 20 16:32:34 2012] Script: '/home/felipe/dev/bug.php' /home/felipe/dev/php5_3/ext/intl/dateformat/dateformat.c(149) : Freeing 0x02D8A4C8 (2 bytes), script=/home/felipe/dev/bug.php === Total 1 memory leaks detected === ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=62081&edit=1