Edit report at https://bugs.php.net/bug.php?id=61829&edit=1
ID: 61829 Updated by: fel...@php.net Reported by: fel...@php.net Summary: Memory leak when calling MessageFormatter's constructor twice -Status: Open +Status: Closed Type: Bug Package: I18N and L10N related PHP Version: Irrelevant -Assigned To: +Assigned To: felipe 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-04-23 18:20:54] fel...@php.net Automatic comment on behalf of felipe...@gmail.com Revision: http://git.php.net/?p=php-src.git;a=commit;h=c8865e3b84c9a3d08811b3b8f954defcd8fb621d Log: - Fixed bug #61829 (Memory leak when calling MessageFormatter's constructor twice) ------------------------------------------------------------------------ [2012-04-23 18:17:58] fel...@php.net Description: ------------ See below. Test script: --------------- <?php $x = new MessageFormatter(1,1); $x->__construct(1,1); Actual result: -------------- [Mon Apr 23 15:14:57 2012] Script: '../bug.php' /home/felipe/dev/php-src/ext/intl/msgformat/msgformat.c(71) : Freeing 0x7FD69DA518B0 (2 bytes), script=../bug.php === Total 1 memory leaks detected === ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=61829&edit=1