diff --git a/gst/gstpad.c b/gst/gstpad.c index 5a1cb80ea5..a599d424e3 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -4718,8 +4718,8 @@ slow_path: } invalid: { - pad_free_cache (cache); GST_PAD_STREAM_UNLOCK (peer); + pad_free_cache (cache); goto slow_path; } } @@ -4830,8 +4830,8 @@ slow_path: } invalid: { - pad_free_cache (cache); GST_PAD_STREAM_UNLOCK (peer); + pad_free_cache (cache); goto slow_path; } }