mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-03 01:02:19 +00:00
alsamidisrc: unref buffer_list before early return
This commit is contained in:
parent
225651e6c5
commit
32ca1701b7
1 changed files with 1 additions and 0 deletions
|
@ -459,6 +459,7 @@ poll:
|
||||||
if (ret <= 0) {
|
if (ret <= 0) {
|
||||||
if (ret < 0 && errno == EBUSY) {
|
if (ret < 0 && errno == EBUSY) {
|
||||||
GST_INFO_OBJECT (alsamidisrc, "flushing");
|
GST_INFO_OBJECT (alsamidisrc, "flushing");
|
||||||
|
gst_buffer_list_unref (buffer_list);
|
||||||
return GST_FLOW_FLUSHING;
|
return GST_FLOW_FLUSHING;
|
||||||
}
|
}
|
||||||
GST_ERROR_OBJECT (alsamidisrc, "ERROR in poll: %s", strerror (errno));
|
GST_ERROR_OBJECT (alsamidisrc, "ERROR in poll: %s", strerror (errno));
|
||||||
|
|
Loading…
Reference in a new issue