audiodecoder: Fix leak on failed audio gaps
authorDoug Nazar <nazard@nazar.ca>
Wed, 26 Jun 2019 07:39:54 +0000 (03:39 -0400)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 10 Aug 2019 10:32:19 +0000 (11:32 +0100)
commit53884bdcecfb86d861e3d16941d70a34f53daf7a
tree0ff6177378e8def7a6aa9774d034ddbea6d43983
parentc5c78a70ca76f970e910500302c0f08e361a1b8e
audiodecoder: Fix leak on failed audio gaps

If we fail to process the gap event we need to unref the event or
we end up with a leak.
gst-libs/gst/audio/gstaudiodecoder.c