Skip to content
Snippets Groups Projects
Commit 9fe3365f authored by Sebastian Rasmussen's avatar Sebastian Rasmussen Committed by Thiago Santos
Browse files

parse: Unref reference to enclosing bins

Previously all reference to enclosing bins of an element were leaked
when doing delaying setting a property.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=733697
parent 9ceb8f3a
No related branches found
No related tags found
No related merge requests found
......@@ -297,9 +297,12 @@ static void gst_parse_add_delayed_set (GstElement *element, gchar *name, gchar *
gst_parse_add_delayed_set(parent, sub_name, value_str);
g_free (sub_name);
}
gst_object_unref (parent);
parent = child;
current++;
}
if (parent)
gst_object_unref (parent);
g_strfreev (names);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment