mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
queue2: don't leak pad ref in pull mode when flushing
Fix pad leak when queue2 is flushing or being shut down.
This commit is contained in:
parent
ce35fb79da
commit
2ee5e4d8ac
1 changed files with 1 additions and 0 deletions
|
@ -2642,6 +2642,7 @@ out_flushing:
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (queue, "we are flushing");
|
GST_DEBUG_OBJECT (queue, "we are flushing");
|
||||||
GST_QUEUE2_MUTEX_UNLOCK (queue);
|
GST_QUEUE2_MUTEX_UNLOCK (queue);
|
||||||
|
gst_object_unref (queue);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
out_unexpected:
|
out_unexpected:
|
||||||
|
|
Loading…
Reference in a new issue