mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
gst/gstbin.c: And unref the child too..
Original commit message from CVS: * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_sort_iterator_new): And unref the child too..
This commit is contained in:
parent
a1aa83c759
commit
40e4311d94
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-11-17 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst/gstbin.c: (gst_bin_provide_clock_func),
|
||||
(gst_bin_sort_iterator_new):
|
||||
And unref the child too..
|
||||
|
||||
2005-11-17 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
|
||||
|
|
|
@ -487,6 +487,7 @@ gst_bin_provide_clock_func (GstElement * element)
|
|||
gst_object_unref (result);
|
||||
result = clock;
|
||||
}
|
||||
gst_object_unref (child);
|
||||
}
|
||||
gst_object_replace ((GstObject **) & bin->provided_clock,
|
||||
(GstObject *) result);
|
||||
|
|
Loading…
Reference in a new issue