Bug #61829 [Opn->Csd]: Memory leak when calling MessageFormatter's constructor twice

From: Date: Mon, 23 Apr 2012 18:21:07 +0000
Subject: Bug #61829 [Opn->Csd]: Memory leak when calling MessageFormatter's constructor twice
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-169905@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=61829&edit=1 ID: 61829 Updated by: felipe@php.net Reported by: felipe@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] felipe@php.net Automatic comment on behalf of felipensp@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] felipe@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

« previous php.bugs (#169905) next »