summaryrefslogtreecommitdiff
path: root/gst/gstbin.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2005-11-17 16:02:48 +0000
committerWim Taymans <wim.taymans@gmail.com>2005-11-17 16:02:48 +0000
commit40e4311d9423cae0ba2cebb7a54d37f40b549fcd (patch)
treec9a1e90a99fac338a1c25b055e97ae8a44a0aaf1 /gst/gstbin.c
parenta1aa83c7597ba9ac37ba652dad041d145511bce2 (diff)
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..
Diffstat (limited to 'gst/gstbin.c')
-rw-r--r--gst/gstbin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/gstbin.c b/gst/gstbin.c
index c46175ab5..637aef08b 100644
--- a/gst/gstbin.c
+++ b/gst/gstbin.c
@@ -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);