[Geany-devel] [PATCH] fix memory leak

Frank Lanitz frank at xxxxx
Fri Aug 13 09:05:11 UTC 2010


On Thu, 12 Aug 2010 18:03:28 +0100, Nick Treleaven
<nick.treleaven at btinternet.com> wrote:
> On Thu, 12 Aug 2010 07:51:35 +0200
> Frank Lanitz <frank at frank.uvena.de> wrote:
> 
>> However, maybe we should revisit the function as it appears to me at
>> the moment that search_text could be replaced completely by using
>> utf8_search_text.
> 
> We sometimes want search_text to be a different encoding than UTF-8 -
> see the line:
> 
> search_text = g_convert(utf8_search_text, utf8_text_len, enc, "UTF-8",
> 	NULL, NULL, NULL);
> 
> So I think it's fine as it is.

Ahh... Missed http://git.geany.org/geany/tree/src/search.c#n1419 
Good, that I did ask before just botching around ;) 

Cheers, 
Frank 





More information about the Devel mailing list