cvs: php4 /ext/standard string.c

From: Date: Thu, 27 Sep 2001 00:21:21 +0000
Subject: cvs: php4 /ext/standard string.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-7584@lists.php.net to get a copy of this message
zeev Wed Sep 26 20:21:21 2001 EDT Modified files: /php4/ext/standard string.c Log: Another leak bites the dust? Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.247 php4/ext/standard/string.c:1.248 --- php4/ext/standard/string.c:1.247 Wed Sep 26 15:34:46 2001 +++ php4/ext/standard/string.c Wed Sep 26 20:21:21 2001 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: string.c,v 1.247 2001/09/26 19:34:46 derick Exp $ */ +/* $Id: string.c,v 1.248 2001/09/27 00:21:21 zeev Exp $ */ /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */ @@ -1360,11 +1360,11 @@ if (found) { found_offset = found - Z_STRVAL_PP(haystack); - RETURN_STRINGL(haystack_orig + found_offset, + RETVAL_STRINGL(haystack_orig + found_offset, Z_STRLEN_PP(haystack) - found_offset, 1); } else { - RETURN_FALSE; + RETVAL_FALSE; } efree(haystack_orig);

« previous php.cvs (#7584) next »