mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
pluginloader: don't leak entries for blacklisted files
This commit is contained in:
parent
d2aa01c2de
commit
efef6e2248
1 changed files with 2 additions and 0 deletions
|
@ -270,6 +270,8 @@ restart:
|
|||
l->got_plugin_details = TRUE;
|
||||
/* Now remove this crashy plugin from the head of the list */
|
||||
l->pending_plugins = g_list_delete_link (cur, cur);
|
||||
g_free (entry->filename);
|
||||
g_slice_free (PendingPluginEntry, entry);
|
||||
if (l->pending_plugins == NULL)
|
||||
l->pending_plugins_tail = NULL;
|
||||
if (!gst_plugin_loader_spawn (l))
|
||||
|
|
Loading…
Reference in a new issue