[cairo] [PATCH 3/3] cairo-test-runner: don't leak argv

Chris Wilson chris at chris-wilson.co.uk
Fri Sep 9 10:25:01 PDT 2011


On Fri,  9 Sep 2011 14:17:39 -0300, przanoni at gmail.com wrote:
> From: Paulo Zanoni <paulo.r.zanoni at intel.com>
> 
> If CAIRO_TESTS is set, argv will be replaced by a xmaloc'ed variable. We
> need to free it.
> 
> This can be easily detected by running:
> CAIRO_TESTS=user-font make check-valgrind TARGETS=image

But who runs ./cairo-test-suite like that? ;-)

Thanks,
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the cairo mailing list