cairo/src/win32
Chris Wilson fb8881e84b win32: Prevent double-free of similar images
Based on a patch and analysis by Michael Henning.

When we create a similar-image surface for win32, we set up a couple of
back references from the image to the win32 surface, and vice versa. We
need to be careful when decoupling the reference cycle to avoid chasing
around the loop upon destruction. Currently we handled destroying the
similar-image via the parent win32 surface, but similar precaution is
required when destroying the surface via the similar-image.

Reported-by: Michael Henning <drawoc@darkrefraction.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=63787
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-23 12:53:27 +01:00
..
cairo-win32-debug.c win32: Rebase on the new compositor infrastructure 2012-02-15 14:37:11 +00:00
cairo-win32-device.c win32: Fix is_win98() 2013-02-07 10:02:31 +00:00
cairo-win32-display-surface.c win32: Prevent double-free of similar images 2013-08-23 12:53:27 +01:00
cairo-win32-font.c doc: Add "since" tag to documentation 2012-03-29 11:03:18 +02:00
cairo-win32-gdi-compositor.c win32: fix corrupted drawing 2013-04-02 08:39:05 +01:00
cairo-win32-printing-surface.c Split cairo-recording-surface-private into struct+inlines 2012-04-19 12:46:34 +01:00
cairo-win32-private.h win32: Rebase on the new compositor infrastructure 2012-02-15 14:37:11 +00:00
cairo-win32-surface.c doc: Add "since" tag to documentation 2012-03-29 11:03:18 +02:00
cairo-win32-system.c win32: Rebase on the new compositor infrastructure 2012-02-15 14:37:11 +00:00