diff options
author | John Lindgren <john.lindgren@aol.com> | 2015-05-31 11:48:30 -0400 |
---|---|---|
committer | Bryce Harrington <bryce@osg.samsung.com> | 2015-06-26 16:12:33 -0700 |
commit | bb24f165ff57973347b34956a371c6b33d2d9b59 (patch) | |
tree | 5bc7ee459a6277bbae9d48e49b1a4665175d3027 /src/cairo-tristrip.c | |
parent | 1bcce4362927952b25cb916f862dde6fd35f8125 (diff) | |
download | cairo-bb24f165ff57973347b34956a371c6b33d2d9b59.tar.gz |
Avoid indiscriminate use of VALGRIND_MAKE_MEM_NOACCESS.
Marking stack-allocated objects as no-access creates false positives,
which distract from finding real memory errors.
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=52548
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
Diffstat (limited to 'src/cairo-tristrip.c')
-rw-r--r-- | src/cairo-tristrip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-tristrip.c b/src/cairo-tristrip.c index bb4972f50..bcf3b2371 100644 --- a/src/cairo-tristrip.c +++ b/src/cairo-tristrip.c @@ -58,7 +58,7 @@ _cairo_tristrip_fini (cairo_tristrip_t *strip) if (strip->points != strip->points_embedded) free (strip->points); - VG (VALGRIND_MAKE_MEM_NOACCESS (strip, sizeof (cairo_tristrip_t))); + VG (VALGRIND_MAKE_MEM_UNDEFINED (strip, sizeof (cairo_tristrip_t))); } |