diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-06-04 14:12:20 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-06-04 14:17:43 +0100 |
commit | 132f44dce1884c9beed8c5e6588140ee8fa9cfbe (patch) | |
tree | 1cd955f3a06de9b3a2c9ebc1114dd74643054ebf /src/cairo-freelist.c | |
parent | e89828c5331579d0d4019b6339df09ba1e2aa32e (diff) | |
download | cairo-132f44dce1884c9beed8c5e6588140ee8fa9cfbe.tar.gz |
valgrindify init/fini routines
Annotate object init/fini routines to detect use-after-free for
on-stack/embedded objects.
Diffstat (limited to 'src/cairo-freelist.c')
-rw-r--r-- | src/cairo-freelist.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/cairo-freelist.c b/src/cairo-freelist.c index e39a01e4a..f6eb4fed1 100644 --- a/src/cairo-freelist.c +++ b/src/cairo-freelist.c @@ -24,13 +24,6 @@ #include "cairo-freelist-private.h" -#if HAVE_VALGRIND -#include <memcheck.h> -#define VG(x) x -#else -#define VG(x) -#endif - void _cairo_freelist_init (cairo_freelist_t *freelist, unsigned nodesize) { |