From fdec6b37596d8b064ff082326d7189daa8208052 Mon Sep 17 00:00:00 2001 From: Michael Hutchinson Date: Fri, 29 Mar 2013 02:37:33 +0100 Subject: quartz: Don't release memory we don't own This was causing crashes due to double frees. https://bugs.freedesktop.org/show_bug.cgi?id=62885 Signed-off-by: Benjamin Otte --- src/cairo-quartz-surface.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/cairo-quartz-surface.c b/src/cairo-quartz-surface.c index 1e2bbecb..868c6c85 100644 --- a/src/cairo-quartz-surface.c +++ b/src/cairo-quartz-surface.c @@ -1374,7 +1374,6 @@ _cairo_quartz_teardown_state (cairo_quartz_drawing_state_t *state, CGContextDrawLayerInRect (surface->cgContext, state->clipRect, state->layer); - CGContextRelease (state->cgDrawContext); CGLayerRelease (state->layer); } -- cgit v1.2.3