gst/gstelement.c: Avoid leaking the parent ref when we fail changing the state of...
authorAntoine Tremblay <hexa00@gmail.com>
Sun, 14 Sep 2008 22:01:30 +0000 (22:01 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Sun, 14 Sep 2008 22:01:30 +0000 (22:01 +0000)
commit607fd58a5ecc24ff84bb024a5a25a3c34f70f121
treeb2915ef7ea56d012e718f66008c5693a6791532b
parente769a7a0e427b0fa146482e50408a5ae714c3436
gst/gstelement.c: Avoid leaking the parent ref when we fail changing the state of the element using gst_element_sync_...

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.
ChangeLog
gst/gstelement.c