Original commit message from CVS:
Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
* gst/gstelement.c: (gst_element_sync_state_with_parent):
Avoid leaking the parent ref when we fail changing the state of the
element using gst_element_sync_state_with_parent(). Fixes #551978.
+2008-09-14 Wim Taymans <wim.taymans@collabora.co.uk>
+
+ Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
+
+ * gst/gstelement.c: (gst_element_sync_state_with_parent):
+ Avoid leaking the parent ref when we fail changing the state of the
+ element using gst_element_sync_state_with_parent(). Fixes #551978.
+
2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
* docs/manual/intro-motivation.xml::
GST_CAT_DEBUG_OBJECT (GST_CAT_STATES, element,
"syncing state failed (%s)",
gst_element_state_change_return_get_name (ret));
+ gst_object_unref (parent);
return FALSE;
}
}