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/5744>
This commit is contained in:
parent
2c19c92041
commit
9c6b0f4615
@ -4706,6 +4706,7 @@ retry:
|
|||||||
if (G_UNLIKELY (dbin->shutdown)) {
|
if (G_UNLIKELY (dbin->shutdown)) {
|
||||||
GST_WARNING_OBJECT (dbin, "Currently, shutting down, aborting exposing");
|
GST_WARNING_OBJECT (dbin, "Currently, shutting down, aborting exposing");
|
||||||
DYN_UNLOCK (dbin);
|
DYN_UNLOCK (dbin);
|
||||||
|
g_string_free (missing_plugin_details, TRUE);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
DYN_UNLOCK (dbin);
|
DYN_UNLOCK (dbin);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user