From efef6e224885946cf3b29ddb41441b8c868712b1 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Thu, 9 Sep 2010 22:24:38 +0300 Subject: [PATCH] pluginloader: don't leak entries for blacklisted files --- gst/gstpluginloader.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/gstpluginloader.c b/gst/gstpluginloader.c index dacdd0b..90f1d3d 100644 --- a/gst/gstpluginloader.c +++ b/gst/gstpluginloader.c @@ -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)) -- 2.7.4