[cairo-commit] Branch '1.12' - src/cairo-quartz-surface.c
Benjamin Otte
company at kemper.freedesktop.org
Thu Mar 28 18:41:23 PDT 2013
src/cairo-quartz-surface.c | 1 -
1 file changed, 1 deletion(-)
New commits:
commit ed8649ab3a6642b46a2da7270bc8c4634aa519ae
Author: Michael Hutchinson <m.j.hutchinson at gmail.com>
Date: Fri Mar 29 02:37:33 2013 +0100
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 <otte at redhat.com>
diff --git a/src/cairo-quartz-surface.c b/src/cairo-quartz-surface.c
index 7c8c453..53b2d5d 100644
--- a/src/cairo-quartz-surface.c
+++ b/src/cairo-quartz-surface.c
@@ -1327,7 +1327,6 @@ _cairo_quartz_teardown_state (cairo_quartz_drawing_state_t *state,
CGContextDrawLayerInRect (surface->cgContext,
state->clipRect,
state->layer);
- CGContextRelease (state->cgDrawContext);
CGLayerRelease (state->layer);
}
More information about the cairo-commit
mailing list