GNOME Bugzilla – Bug 757286
Fix crash when trying to release a reference we don't own
Last modified: 2015-10-30 06:32:54 UTC
Fix a crash when hitting the following assertion: cairo_surface_destroy: Assertion `(_cairo_atomic_int_get (&(&surface->ref_count)->ref_count) > 0)' failed.
Created attachment 314369 [details] [review] Fix crash when trying to release a reference we don't own Commit 9fc56102ca changed the condition for creating a new surface, but did not update the condition for freeing it, resulting in a crash when trying to release a reference we don't own.
Review of attachment 314369 [details] [review]: Oops
Attachment 314369 [details] pushed as 1d9e887 - Fix crash when trying to release a reference we don't own