cvs: ZendEngine2 / zend_API.c

From: Date: Mon, 20 Nov 2006 22:08:27 +0000
Subject: cvs: ZendEngine2 / zend_API.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-5414@lists.php.net to get a copy of this message
tony2001 Mon Nov 20 22:08:27 2006 UTC Modified files: /ZendEngine2 zend_API.c Log: fix leak in zend_register_functions() this is very odd, but Zend MM said nothing about it.. http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_API.c?r1=1.415&r2=1.416&diff_format=u Index: ZendEngine2/zend_API.c diff -u ZendEngine2/zend_API.c:1.415 ZendEngine2/zend_API.c:1.416 --- ZendEngine2/zend_API.c:1.415 Fri Nov 17 10:48:53 2006 +++ ZendEngine2/zend_API.c Mon Nov 20 22:08:27 2006 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_API.c,v 1.415 2006/11/17 10:48:53 dmitry Exp $ */ +/* $Id: zend_API.c,v 1.416 2006/11/20 22:08:27 tony2001 Exp $ */ #include "zend.h" #include "zend_execute.h" @@ -2093,6 +2093,7 @@ } else { reg_function = NULL; } + efree(lc_func_name.v); if (reg_function) { zend_check_magic_method_implementation(scope, reg_function, error_type TSRMLS_CC); }

« previous php.zend-engine.cvs (#5414) next »