From 64a1d4ad0bcc79b09ac0d0636927597ed50943c7 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 10 Mar 2017 10:12:49 +0100 Subject: [PATCH] downloadbuffer: unlock mutex in error case --- plugins/elements/gstdownloadbuffer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/elements/gstdownloadbuffer.c b/plugins/elements/gstdownloadbuffer.c index 335dc5436a..36455ac246 100644 --- a/plugins/elements/gstdownloadbuffer.c +++ b/plugins/elements/gstdownloadbuffer.c @@ -1250,6 +1250,7 @@ out_seeking: } write_error: { + GST_DOWNLOAD_BUFFER_MUTEX_UNLOCK (dlbuf); gst_buffer_unmap (buffer, &info); gst_buffer_unref (buffer); GST_ELEMENT_ERROR (dlbuf, RESOURCE, WRITE,