iliaa Thu Dec 21 01:58:46 2006 UTC
Modified files:
/ZendEngine2 zend_operators.c
Log:
MFB: Fixed possible memory leak
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_operators.c?r1=1.261&r2=1.262&diff_format=u
Index: ZendEngine2/zend_operators.c
diff -u ZendEngine2/zend_operators.c:1.261 ZendEngine2/zend_operators.c:1.262
--- ZendEngine2/zend_operators.c:1.261 Sat Dec 16 00:21:41 2006
+++ ZendEngine2/zend_operators.c Thu Dec 21 01:58:46 2006
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_operators.c,v 1.261 2006/12/16 00:21:41 andrei Exp $ */
+/* $Id: zend_operators.c,v 1.262 2006/12/21 01:58:46 iliaa Exp $ */
#include <ctype.h>
@@ -1107,6 +1107,8 @@
convert_object_to_type(op, IS_ARRAY,
convert_to_array);
if (Z_TYPE_P(op) == IS_ARRAY) {
+ zend_hash_destroy(ht);
+ FREE_HASHTABLE(ht);
return SUCCESS;
}
}
--
Zend Engine CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|