fix a leak I introduced
authorThomas Vander Stichele <thomas@apestaart.org>
Sat, 8 Oct 2005 14:41:56 +0000 (14:41 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Sat, 8 Oct 2005 14:41:56 +0000 (14:41 +0000)
Original commit message from CVS:
fix a leak I introduced

gst/gstregistry.c

index 2cb2274..ea2e9c6 100644 (file)
@@ -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;