mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-29 12:25:37 +00:00
decodebin2: Properly free when shutting down in gst_decode_bin_expose
missing_plugin_details causes memory leakages when shutting down. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5750>
This commit is contained in:
parent
c0bba84244
commit
890e5533ee
1 changed files with 1 additions and 0 deletions
|
@ -4675,6 +4675,7 @@ retry:
|
|||
if (G_UNLIKELY (dbin->shutdown)) {
|
||||
GST_WARNING_OBJECT (dbin, "Currently, shutting down, aborting exposing");
|
||||
DYN_UNLOCK (dbin);
|
||||
g_string_free (missing_plugin_details, TRUE);
|
||||
return FALSE;
|
||||
}
|
||||
DYN_UNLOCK (dbin);
|
||||
|
|
Loading…
Reference in a new issue