|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-05-23 13:53 UTC] cataphract@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: cataphract
[2012-05-23 13:53 UTC] cataphract@php.net
[2012-05-23 13:53 UTC] cataphract@php.net
[2014-10-07 23:25 UTC] stas@php.net
[2014-10-07 23:36 UTC] stas@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 21:00:01 2025 UTC |
Description: ------------ The script <?php datefmt_create('', IntlDateFormatter::NONE, IntlDateFormatter::NONE, "\xff", IntlDateFormatter::GREGORIAN, 'a'); Produces this output: [Sun May 13 23:39:54 2012] Script: '/home/nikic/dev/Phuzzy/results/workingFile1_memleak.php' /home/nikic/dev/php-src/ext/intl/intl_convert.c(78) : Freeing 0xB69401E4 (4 bytes), script=/home/nikic/dev/Phuzzy/results/workingFile1_memleak.php /home/nikic/dev/php-src/Zend/zend_alloc.c(2529) : Actual location (location was relayed) === Total 1 memory leaks detected === The reason is that if an error occurs in http://lxr.php.net/opengrok/xref/PHP_TRUNK/ext/intl/dateformat/dateformat.c#109, then svalue isn't freed.