no, a one-off memory allocation is not a memory leak.
there have been multiple threads regarding using Valgrind with Glib and Gtk+; I suggest you look at the Gnome wiki and the archives of this list.
sent from my phone, sorry for the formatting.
On 14 Nov 2011 19:03, "Traktor Toni" <trustthesky googlemail com> wrote:
Hi, I'm using librsvg-2. Just calling rsvg_init() rsvg_term() tells "bytes possibly lost" in valgrind at line "g_type_init_with_debug_flags" inside rsvg_init().
Also, why is it still calling g_type_init_with_debug_flags even though I'm not compiling with any -g flag?
Thanks guys, this is making me nervous :(
gtk-devel-list mailing list
gtk-devel-list gnome org