xvimagesink: fix navigation event leak when early returning
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 4 May 2015 15:59:30 +0000 (17:59 +0200)
committerThiago Santos <thiagoss@osg.samsung.com>
Tue, 5 May 2015 16:54:08 +0000 (13:54 -0300)
commitca100d117cc5d3c9ed49a28cb1d7696ca50f42f8
treee749bbb442d7c2fae89e049c7f0e55ea1be5c5e9
parent9d85e23c3d960724a551e057cf412989174ee875
xvimagesink: fix navigation event leak when early returning

Create the event *after* the early return check so it's not leaked.

https://bugzilla.gnome.org/show_bug.cgi?id=748903
sys/xvimage/xvimagesink.c