gsta2dpsink: Fix GstPad leak
authorSanchayan Maity <sanchayan@asymptotic.io>
Tue, 27 Oct 2020 14:23:44 +0000 (19:53 +0530)
committerSanchayan Maity <sanchayan@asymptotic.io>
Wed, 11 Nov 2020 16:49:33 +0000 (22:19 +0530)
commit406cd3bdefadd5fd875232349761787aad23f48a
tree0986db5d6dfffdc60c40f17afc28c40fdce66c85
parent8aa6db2c8d2a9d06fcb71b8b75517e13880b4269
gsta2dpsink: Fix GstPad leak

The sinkpad returned by a call to gst_element_get_static_pad needs to be
unrefed.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1621>
sys/bluez/gsta2dpsink.c