mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
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.
This commit is contained in:
parent
1b16db2436
commit
defab93002
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue