From 3d9910ecb9f8ededb282f73dc6fc57f1f16ee2c2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 22 Sep 2006 10:17:15 +0000 Subject: [PATCH] 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. --- ChangeLog | 5 +++++ gst/gstghostpad.c | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 41b376b..11715e4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-09-22 Tim-Philipp Müller + + * 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 * gst/gstcaps.h: diff --git a/gst/gstghostpad.c b/gst/gstghostpad.c index 1e3298c..50c1474 100644 --- a/gst/gstghostpad.c +++ b/gst/gstghostpad.c @@ -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; } } -- 2.7.4