imagefreeze: fix use-after-free on seek event
authorTim-Philipp Müller <tim@centricular.com>
Mon, 3 Jul 2017 19:27:29 +0000 (20:27 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 3 Jul 2017 19:43:12 +0000 (20:43 +0100)
commitd712a2f4b7e1705ac879aff30b11a807d88bdd54
tree1ada9cffe98938e6248487a25dea2d5de8cc401b
parentf9f1a03653e67e446e5ee844ff03ddcb290c3a73
imagefreeze: fix use-after-free on seek event

Get seqnum before unreffing the seek event.

https://bugzilla.gnome.org/show_bug.cgi?id=784486
gst/imagefreeze/gstimagefreeze.c