gst/gstghostpad.c: Don't forget to release proxy lock when there's an error.

Original commit message from CVS:
* gst/gstghostpad.c: (gst_ghost_pad_set_target):
Don't forget to release proxy lock when there's an error.
This commit is contained in:
Tim-Philipp Müller 2006-09-22 10:17:15 +00:00
parent 60fa209cbd
commit 3d9910ecb9
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
* gst/gstghostpad.c: (gst_ghost_pad_set_target):
Don't forget to release proxy lock when there's an error.
2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
* gst/gstcaps.h:

View file

@ -1110,6 +1110,7 @@ link_failed:
lret);
/* and unset target again */
gst_proxy_pad_set_target_unlocked (GST_PAD_CAST (gpad), NULL);
GST_PROXY_UNLOCK (gpad);
return FALSE;
}
}