Commit 32ca1701 authored by Mathieu Duponchelle's avatar Mathieu Duponchelle

alsamidisrc: unref buffer_list before early return

parent 225651e6
......@@ -459,6 +459,7 @@ poll:
if (ret <= 0) {
if (ret < 0 && errno == EBUSY) {
GST_INFO_OBJECT (alsamidisrc, "flushing");
gst_buffer_list_unref (buffer_list);
GST_ERROR_OBJECT (alsamidisrc, "ERROR in poll: %s", strerror (errno));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment