sterling Thu Dec 26 14:56:44 2002 EDT Modified files: /php4/ext/standard string.c Log: remove memleak Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.336 php4/ext/standard/string.c:1.337 --- php4/ext/standard/string.c:1.336 Thu Dec 12 08:38:18 2002 +++ php4/ext/standard/string.c Thu Dec 26 14:56:44 2002 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: string.c,v 1.336 2002/12/12 13:38:18 iliaa Exp $ */ +/* $Id: string.c,v 1.337 2002/12/26 19:56:44 sterling Exp $ */ /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */ @@ -1372,6 +1372,8 @@ RETVAL_FALSE; } + zval_ptr_dtor(haystack); + zval_ptr_dtor(needle); efree(haystack_orig); } /* }}} */
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php