From c7d09f7c4fa81eb74977e4c74b768725f9c565a9 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Sat, 8 Oct 2005 14:41:56 +0000 Subject: [PATCH] fix a leak I introduced Original commit message from CVS: fix a leak I introduced --- gst/gstregistry.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/gstregistry.c b/gst/gstregistry.c index 2cb22749af..ea2e9c6eb3 100644 --- a/gst/gstregistry.c +++ b/gst/gstregistry.c @@ -703,6 +703,7 @@ gst_registry_scan_path_level (GstRegistry * registry, const gchar * path, if (plugin->registered) { GST_DEBUG_OBJECT (registry, "plugin already registered from path %s", plugin->filename); + g_free (filename); continue; } plugin->registered = TRUE;