Original commit message from CVS:
* plugins/elements/gsttypefindelement.c: (free_entry),
(gst_type_find_element_chain):
Now that we're not leaking factories, make sure we keep references
to them while we need them.
+2005-12-12 Michael Smith <msmith@fluendo.com>
+
+ * plugins/elements/gsttypefindelement.c: (free_entry),
+ (gst_type_find_element_chain):
+ Now that we're not leaking factories, make sure we keep references
+ to them while we need them.
+
2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
* tests/check/gst/struct_i386.h:
{
if (entry->caps)
gst_caps_unref (entry->caps);
+ gst_object_unref (entry->factory);
g_free (entry);
}
static void
while (walk) {
entry = new_entry ();
- entry->factory = GST_TYPE_FIND_FACTORY (walk->data);
+ entry->factory = gst_object_ref (GST_TYPE_FIND_FACTORY (walk->data));
entry->self = typefind;
entry->probability = 0;
typefind->possibilities =