gst/gstghostpad.c: Don't forget to release proxy lock when there's an error.
authorTim-Philipp Müller <tim@centricular.net>
Fri, 22 Sep 2006 10:17:15 +0000 (10:17 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Fri, 22 Sep 2006 10:17:15 +0000 (10:17 +0000)
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
gst/gstghostpad.c

index 41b376b..11715e4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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:
index 1e3298c..50c1474 100644 (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;
   }
 }