[cairo] [cairo-commit] src/cairo-xlib-render-compositor.c

Chris Wilson chris at chris-wilson.co.uk
Mon Jul 6 14:24:04 PDT 2015


On Mon, Jul 06, 2015 at 02:14:27PM -0700, Bryce Harrington wrote:
>  src/cairo-xlib-render-compositor.c |    8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)

This patch is ridiculous. Just

-cairo_device_destroy(&display->base);
+cairo_device_destroy(priv->device);

with answers on a postcard why the error path is impossible in the first
place.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the cairo mailing list