preset: Unref return value of gst_child_proxy_get_child_by_index() instead of leaking it

This commit is contained in:
Sebastian Dröge 2014-04-16 17:49:06 +02:00
parent 552864332b
commit dded0a4bb6

View file

@ -531,6 +531,8 @@ gst_preset_default_get_property_names (GstPreset * preset)
}
g_free (props);
}
g_object_unref (child);
}
}
if (!result) {