compositor: Avoid a crash if the top window actor is finalized
authorRui Matos <tiagomatos@gmail.com>
Tue, 17 Oct 2017 15:17:55 +0000 (17:17 +0200)
committerJeremy Bicha <jbicha@debian.org>
Sat, 21 Oct 2017 23:47:22 +0000 (00:47 +0100)
commit1dd95c31ffb3837ec1244614b7c1296882cc9d61
treef6511f18a5a80f506ed0b2360edbc8091482ef65
parenteb23c66919ead5e257d0b9921e4c33f97d1cc494
compositor: Avoid a crash if the top window actor is finalized

Since we're not holding a reference, the top window actor might be
finalized when we paint resulting in a use after free crash.

https://bugzilla.gnome.org/show_bug.cgi?id=788493

Gbp-Pq: Name 0017-compositor-Avoid-a-crash-if-top-window-finalized.patch
src/compositor/compositor.c