ximagesink: Check if the X context is allocated before using it
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 10 May 2010 10:44:41 +0000 (12:44 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 10 May 2010 10:44:41 +0000 (12:44 +0200)
commit6914986cb3b68465e0d9381ba7027c7321eeda8e
tree815ac295da7274f8b27bd4983283eb8e5738d041
parentdf5c772c44ef798b5d4b56b4b860f064e61ae243
ximagesink: Check if the X context is allocated before using it

It should be allocated at these places already or the state changes
would have failed... but better add an additional check here.
sys/ximage/ximagesink.c