Re: [evolution-patches] [Evolution-hackers] Avoiding a strdup in camel-folder-summar.c
- From: Philip Van Hoof <spam pvanhoof be>
- To: Chris Toshok <toshok ximian com>
- Cc: Evolution Patches <evolution-patches gnome org>, evolution-hackers gnome org
- Subject: Re: [evolution-patches] [Evolution-hackers] Avoiding a strdup in camel-folder-summar.c
- Date: Tue, 11 Jul 2006 16:55:30 +0200
On Tue, 2006-07-11 at 09:28 -0400, Chris Toshok wrote:
> No opinion on the rest of the patch, but this:
> static void
> free_token (gchar *token)
> {
> gint i;
>
> for (i = 0; i < tokens_len; i ++)
> if (tokens[i] == token)
> return;
>
> g_free (token);
> }
Of course. Yes, that is better.
--
Philip Van Hoof, software developer at x-tend
home: me at pvanhoof dot be
gnome: pvanhoof at gnome dot org
work: vanhoof at x-tend dot be
http://www.pvanhoof.be - http://www.x-tend.be
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]