Re: [dev] [surf] SearchEngines patch

From: cryptix <cryptix_AT_riseup.net>
Date: Wed, 23 Sep 2009 15:04:55 +0200

Realized this is still bad.

If you have 10 SearchEngines and only the last one matches in the
parseuri() for loop, you would still have the other 9 allocated..
Getting rid of prefix altogether seams to be the cleanest approach. no
need to strdup().

Updated patch attached.

On 23.09.2009, at 14:05, cryptix wrote:

> Hey Nils,
>
> like the patch, the unfree()ed prefixes were bugging me, though.
> Updated it a bit, hope you agree.
>
> Kind regards,
>
> cryptix
> <searchengines.patch>

Received on Wed Sep 23 2009 - 13:04:55 UTC

This archive was generated by hypermail 2.2.0 : Wed Sep 23 2009 - 13:12:26 UTC