preset: Unref return value of gst_child_proxy_get_child_by_index() instead of leaking it
authorSebastian Dröge <sebastian@centricular.com>
Wed, 16 Apr 2014 15:49:06 +0000 (17:49 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 16 Apr 2014 15:49:40 +0000 (17:49 +0200)
gst/gstpreset.c

index 3e94350..b1b6720 100644 (file)
@@ -531,6 +531,8 @@ gst_preset_default_get_property_names (GstPreset * preset)
         }
         g_free (props);
       }
+
+      g_object_unref (child);
     }
   }
   if (!result) {