Web lists-archives.org

Re: Glib hashtable memory leak




2008/4/30 Ovidiu Gheorghies <ogheorghies@xxxxxxxxx>:
> The following program appears to leak memory according to mtrace:

glib has it's own allocator and this is confusing mtrace.

Try setting:

export G_DEBUG=gc-friendly
export G_SLICE=always-malloc

before running your program.

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