Re: [PHP4BETA] cvs: /php4/ext/standard string.c
| From: | Eric van der Vlist | Date: | Wed, 05 Jan 2000 12:45:32 +0000 |
| Subject: | Re: [PHP4BETA] cvs: /php4/ext/standard string.c | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-8925@lists.php.net to get a copy of this message | ||
I posted this bug less than 3 hours ago !
Thanks a lot for your reactivity, I don't know any commercial product
which would match it !
Eric
Jouni Ahto wrote:
>
> jah Wed Jan 5 07:27:12 2000 EDT
>
> Modified files:
> /php4/ext/standard string.c
> Log:
>
> (php_setlocale) Fixed memory leak (bug #3105).
> # Must have been thinking something else when originally wrote this.
>
>
> Index: php4/ext/standard/string.c
> diff -u php4/ext/standard/string.c:1.85 php4/ext/standard/string.c:1.86
> --- php4/ext/standard/string.c:1.85 Tue Jan 4 04:45:28 2000
> +++ php4/ext/standard/string.c Wed Jan 5 07:26:41 2000
> @@ -18,7 +18,7 @@
> +----------------------------------------------------------------------+
> */
>
> -/* $Id: string.c,v 1.85 2000/01/04 09:45:28 thies Exp $ */
> +/* $Id: string.c,v 1.86 2000/01/05 12:26:41 jah Exp $ */
>
> /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
>
> @@ -2099,7 +2099,7 @@
> /* Remember if locale was changed */
> if (loc) {
> STR_FREE(BG(locale_string));
> - BG(strtok_string) = estrdup(retval);
> + BG(locale_string) = estrdup(retval);
> }
>
> RETVAL_STRING(retval,1);
>
> --
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> For additional commands, e-mail: php4beta-help@lists.php.net
> To contact the list administrators, e-mail: php4beta-admin@lists.php.net
--
------------------------------------------------------------------------
Eric van der Vlist Dyomedea
http://www.dyomedea.com http://www.ducotede.com
------------------------------------------------------------------------