[Geany-devel] [PATCH] fix memory leak

Nick Treleaven nick.treleaven at xxxxx
Thu Aug 12 17:03:28 UTC 2010


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.

Regards,
Nick



More information about the Devel mailing list