mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-11 02:24:13 +00:00
gdppay: Fix buffer memory leak
outbuffer being allocated is not being pushed to queue for EOS event and hence should be freed. https://bugzilla.gnome.org/show_bug.cgi?id=759519
This commit is contained in:
parent
34586e0ffd
commit
1b2a9a9c84
1 changed files with 2 additions and 0 deletions
|
@ -577,6 +577,8 @@ gst_gdp_pay_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
|
|||
flowret = gst_gdp_queue_buffer (this, outbuffer);
|
||||
if (flowret != GST_FLOW_OK)
|
||||
goto push_error;
|
||||
} else {
|
||||
gst_buffer_unref (outbuffer);
|
||||
}
|
||||
|
||||
done:
|
||||
|
|
Loading…
Reference in a new issue