Re: g_get_user_config_dir leaks memory ?



On Tue, 2007-03-27 at 06:46 -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 leaked memory, via a
> Memcheck:Leak suppression entry. I've included an example below from
> what cairo is using to ignore still-reachable memory from Xrm.
> 
> But you should be able to easily get exactly what you want from
> valgrind with its --gen-suppressions=yes option.

Ok. It was a long time ago :)

-- 
Hans Petter




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