GNOME Bugzilla – Bug 781017
gstaggregator: fix event use after free
Last modified: 2017-05-08 16:14:24 UTC
Created attachment 349434 [details] [review] gstaggregator: fix event use after free
Comment on attachment 349434 [details] [review] gstaggregator: fix event use after free This seems suspicious. Either it takes ownership of the event, or it doesn't. But it should be consistent.
I'm not clear on whether sink_event should eat the ref in case of failure.
Yes
Created attachment 349460 [details] [review] gstaggregator: fix event use after free
This version just looks what it needs before calling sink_event, and thus does not need to retain a ref for after the call.
Review of attachment 349460 [details] [review]: ok :)
Attachment 349460 [details] pushed as cd78fc5 - gstaggregator: fix event use after free