basesink: fix a use after free case
authorFabrice Bellet <fabrice@bellet.info>
Wed, 30 Nov 2016 20:17:55 +0000 (21:17 +0100)
committerArun Raghavan <arun@arunraghavan.net>
Sat, 17 Dec 2016 04:10:25 +0000 (09:40 +0530)
commitde65529d5219c1f837735136a0bce7ae5925654f
treecec109b174411409d5147479bced4cd64c0ae0bd
parentbb28a59d5b465128b04595e71d90617abaf21117
basesink: fix a use after free case

The event may be disposed while being pushed, so we make sure the
debug infrastructure won't use it after the gst_pad_push().
libs/gst/base/gstbasesink.c