|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62081 IntlDateFormatter constructor leaks memory when called twice
Submitted: 2012-05-20 19:35 UTC Modified: 2012-05-23 11:36 UTC
From: Assigned: cataphract
Status: Closed Package: I18N and L10N related
PHP Version: Irrelevant OS: Linux
Private report: No CVE-ID:
 [2012-05-20 19:35 UTC]
See below:

Test script:

$x = new IntlDateFormatter(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 ===


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-05-23 11:30 UTC]
Automatic comment on behalf of cataphract
Log: Fixed bug #62081
 [2012-05-23 11:36 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: cataphract
 [2012-05-23 11:36 UTC]
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

 For Windows:
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Fri Apr 18 18:01:58 2014 UTC