Project

General

Profile

Actions

Valgrind » History » Revision 1

Revision 1/4 | Next »
icy, 2008-10-11 17:45


Valgrind

It is sometimes a little bit hard to find mem-leaks in glib based applications, so just use this:

G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind --leak-check=full --show-reachable=yes --leak-resolution=high <yourapplication>

Updated by icy about 16 years ago · 1 revisions