mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
rtpg729pay: Fix adapter leak
The adapter would be leaked if it was empty and the data could be pushed out directly.
This commit is contained in:
parent
317d6e18a2
commit
750387f520
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ gst_rtp_g729_pay_handle_buffer (GstBaseRTPPayload * payload, GstBuffer * buf)
|
|||
GST_BUFFER_DATA (buf), GST_BUFFER_SIZE (buf),
|
||||
GST_BUFFER_TIMESTAMP (buf));
|
||||
gst_buffer_unref (buf);
|
||||
|
||||
g_object_unref (adapter);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue