Re: how come these code give me memory leaks



I think the problem is in the use of g_markup_printf_escaped, this function return a gchar* that you must free with g_free().
Probably you may take a look to ustring::compose functions.

Greetings
jamf.
--
Atentamente:
Juan Ángel Moreno Fernández
------------------------------
  Proyecto Gelide
  http://gelide.sf.net
------------------------------


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