Re: checking for memory leaks in gtk

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

 



On Friday 02 May 2008 2:18:14 pm jcupitt@xxxxxxxxx wrote:
> A useful trick is to run a gtk 'hello world' program under valgrind
> with the --gen-suppressions flag. Assuming you don't have any leaks in
> your gtk hello-world program (!!), the generated suppressions file
> will then make valgrind remove all the system and background leaks and
> errors from your reports.

Till now, this looks to be the most sensible solution. Not perfect, but better 
than what I had before. And if taken from the very start of the development 
and used regularly (and updated regularly) it should be enough to detect my 
leaks. The only tricky part is to not supres some real leak :-D

Anyway, I find this solution acceptable, even if not perfect. Thanx :-)

Johnny
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux