mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 21:21:12 +00:00
parsebin: Don't leak parsepad list on shutdown
Free it as it is down in other cases Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3443>
This commit is contained in:
parent
7af129b755
commit
1774d5c87a
1 changed files with 1 additions and 0 deletions
|
@ -3623,6 +3623,7 @@ retry:
|
||||||
/* Don't expose if we're currently shutting down */
|
/* Don't expose if we're currently shutting down */
|
||||||
DYN_LOCK (parsebin);
|
DYN_LOCK (parsebin);
|
||||||
if (G_UNLIKELY (parsebin->shutdown)) {
|
if (G_UNLIKELY (parsebin->shutdown)) {
|
||||||
|
g_list_free_full (endpads, (GDestroyNotify) gst_object_unref);
|
||||||
GST_WARNING_OBJECT (parsebin,
|
GST_WARNING_OBJECT (parsebin,
|
||||||
"Currently, shutting down, aborting exposing");
|
"Currently, shutting down, aborting exposing");
|
||||||
DYN_UNLOCK (parsebin);
|
DYN_UNLOCK (parsebin);
|
||||||
|
|
Loading…
Reference in a new issue