From: [EMAIL PROTECTED]
Operating system: Any
PHP version: 4.0CVS-2002-06-01
PHP Bug Type: *General Issues
Bug description: Memleak in set_error_handle() when using empty string
<?
set_error_handler('baz');
set_error_handler('');
?>
$ php error_reporting.php
/home/mfischer/isrc/cvs/php4/Zend/zend_builtin_functions.c(864) : Freeing
0x0822A1E4 (4 bytes), script=-
/home/mfischer/isrc/cvs/php4/Zend/zend_variables.c(106) : Actual location
(location was relayed)
--
Edit bug report at http://bugs.php.net/?id=17553&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17553&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17553&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17553&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17553&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17553&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17553&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17553&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17553&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17553&r=globals