bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] free in do_split


From: Aharon Robbins
Subject: Re: [PATCH] free in do_split
Date: Tue, 14 May 2002 19:16:56 +0300

Thanks.  I've applied this.  --Arnold

> From: Stepan Kasal <address@hidden>
> To: address@hidden
> Subject: [PATCH] free in do_split
> Date: Mon, 13 May 2002 16:00:24 +0200
>
> Hallo Aharon,
>       I think I've discovered a small mistake.  The patch is attached.
> Stepan Kasal
>
> I'm not sure but I think that I've found a typo in do_split.
> It seems that sep points to the program tree so it cannot be temp.
> The fs variable, on the other hand, can be temp.
>
> --- gawk-3.1.1/field.c.orig   Mon May 13 14:56:04 2002
> +++ gawk-3.1.1/field.c        Mon May 13 14:55:17 2002
> @@ -895,7 +895,7 @@ do_split(NODE *tree)
>                                            fs, rp, set_element, arr));
>  out:
>       unref(src);
> -     free_temp(sep);
> +     free_temp(fs);
>       return tmp;
>  }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]