audiodecoder: Fix leak on failed audio gaps
authorDoug Nazar <nazard@nazar.ca>
Wed, 26 Jun 2019 07:39:54 +0000 (03:39 -0400)
committerDoug Nazar <nazard@nazar.ca>
Wed, 26 Jun 2019 07:51:03 +0000 (03:51 -0400)
commitfb842a3fdb7008937b3b7eff85492512e0e842b7
tree3fa49c6cb8c78100026b5258356f278f3fef3a39
parentff0f659ca57f690fd7b4f99a8c4790b0adf259ef
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