gst/gstregistry.c: unref a plug-in we get that was already initialized
authorThomas Vander Stichele <thomas@apestaart.org>
Tue, 18 Oct 2005 07:13:25 +0000 (07:13 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Tue, 18 Oct 2005 07:13:25 +0000 (07:13 +0000)
Original commit message from CVS:

* gst/gstregistry.c: (gst_registry_scan_path_level):
unref a plug-in we get that was already initialized

ChangeLog
common
gst/gstregistry.c

index 5e3cfab..4e14630 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * gst/gstregistry.c: (gst_registry_scan_path_level):
+         unref a plug-in we get that was already initialized
+
 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
 
        * docs/gst/gstreamer-sections.txt:
diff --git a/common b/common
index cf363b3..e6e9e5a 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit cf363b3ae6ce3c4a84a561e04ffc4e3b37435a61
+Subproject commit e6e9e5ab1702ac32185b2b28af81feba9fd132f1
index 374e3d1..7cedf1d 100644 (file)
@@ -706,6 +706,7 @@ gst_registry_scan_path_level (GstRegistry * registry, const gchar * path,
             "plugin already registered from path \"%s\"",
             GST_STR_NULL (plugin->filename));
         g_free (filename);
+        gst_object_unref (plugin);
         continue;
       }
       plugin->registered = TRUE;