Bug #62081 [Opn->Csd]: IntlDateFormatter constructor leaks memory when called twice
| From: | cataphract@php.net | Date: | Wed, 23 May 2012 11:36:52 +0000 |
| Subject: | Bug #62081 [Opn->Csd]: IntlDateFormatter constructor leaks memory when called twice | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-170714@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62081&edit=1
ID: 62081
Updated by: cataphract@php.net
Reported by: felipe@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] cataphract@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] felipe@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