Skip to content

Instantly share code, notes, and snippets.

@eiiches
Created September 28, 2011 10:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eiiches/1247566 to your computer and use it in GitHub Desktop.
Save eiiches/1247566 to your computer and use it in GitHub Desktop.
glib-valgrind.sh
#!/bin/bash
export G_SLICE=always-malloc
export G_DEBUG=gc-friendly
valgrind --tool=memcheck --leak-check=full --leak-resolution=high --num-callers=20 "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment