Re: PATCH: cleanup + vim sets remove



On 2001.10.14 15:30 Ali Akcaagac wrote:
> patch 1:
> 
> cleanup of src/sendmsg-window.c we check that there is a
> correct FROM: or TO: information in the textfields. something
> i dont understand is, why its so cluttered. this one simplifies
> and makes code reading easier..
...
>      while (list) {
...
> +	list = g_list_next(list);
>      }
> -
> -    g_list_free(l);
> +
> +    g_list_free(list);

This seems to guarantee that `list' is NULL when you get to 
`g_list_free(list);'--is that what you really want?

Peter




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