cvs: php4 /ext/standard string.c

From: Date: Thu, 26 Dec 2002 19:56:44 +0000
Subject: cvs: php4 /ext/standard string.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-17414@lists.php.net to get a copy of this message
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); } /* }}} */

« previous php.cvs (#17414) next »