alsamidisrc: unref buffer_list before early return
This commit is contained in:
parent
225651e6c5
commit
32ca1701b7
@ -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…
x
Reference in New Issue
Block a user