Commit defab930 authored by Ronald S. Bultje's avatar Ronald S. Bultje
Browse files

gst/schedulers/gstoptimalscheduler.c: Only unref entry if there is an entry.

Original commit message from CVS:
* gst/schedulers/gstoptimalscheduler.c: (schedule_group):
Only unref entry if there is an entry.
parent 1b16db24
2005-01-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/schedulers/gstoptimalscheduler.c: (schedule_group):
Only unref entry if there is an entry.
2005-01-17 Wim Taymans <wim@fluendo.com>
* gst/schedulers/gstoptimalscheduler.c: (add_to_group),
......
......@@ -1170,7 +1170,8 @@ schedule_group (GstOptSchedulerGroup * group)
gst_object_unref (GST_OBJECT (e));
}
gst_object_unref (GST_OBJECT (entry));
if (entry)
gst_object_unref (GST_OBJECT (entry));
g_slist_free (lcopy);
}
return TRUE;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment