Re: g_get_user_config_dir leaks memory ?

2007-03-27 Thread Rúben Fonseca
On Tue, Mar 27, 2007 at 06:46:19AM -0700, Carl Worth wrote: > On Mon, 26 Mar 2007 19:19:22 -0600, Hans Petter Jansson wrote: > > Also, the last time I checked, valgrind would only let you suppress > > messages about invalid accesses, not leaked memory. > > No, it definitely allows suppressions for

Re: g_get_user_config_dir leaks memory ?

2007-03-26 Thread Rúben Fonseca
On Mon, Mar 26, 2007 at 08:39:06PM +0100, Rúben Fonseca wrote: > Hi to all! > > I'm developping a app with GLib. Recently I've tryied to remove all the > memory leaks of the app, using valgrind with great success. > > However, there is still one small leak tha

g_get_user_config_dir leaks memory ?

2007-03-26 Thread Rúben Fonseca
Hi to all! I'm developping a app with GLib. Recently I've tryied to remove all the memory leaks of the app, using valgrind with great success. However, there is still one small leak that I want to discuss with you. The funcion "g_get_user_config_dir" returns a "const gchar *". In the docs it say