#26267 [NEW]: Memory Leaks
From: cunha17 at uol dot com dot br
Operating system: RedHat Linux 9.0
PHP version: 5CVS-2003-11-15 (dev)
PHP Bug Type: Math related
Bug description: Memory Leaks
Description:
------------
The piece of code below leaks memory.
Reproduce code:
---------------
<? $p = gmp_random(1); ?>
Expected result:
----------------
Nothing.
Actual result:
--------------
/usr/src/zend2/php-src/ext/gmp/gmp.c(119) : Freeing 0x405018B8 (8 bytes),
script=-
Last leak repeated 1 time
/usr/src/zend2/php-src/ext/gmp/gmp.c(127) : Freeing 0x40501878 (8 bytes),
script=-
=== Total 3 memory leaks detected ===
--
Edit bug report at http://bugs.php.net/?id=26267&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26267&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26267&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=26267&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=26267&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=26267&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=26267&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=26267&r=support
Expected behavior: http://bugs.php.net/fix.php?id=26267&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=26267&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=26267&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=26267&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26267&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=26267&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=26267&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=26267&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26267&r=float
Thread (3 messages)
- cunha17 at uol dot com dot br