diff --git a/gst-libs/gst/gl/gstglupload.c b/gst-libs/gst/gl/gstglupload.c index a920280b2a..cb4789b5ec 100644 --- a/gst-libs/gst/gl/gstglupload.c +++ b/gst-libs/gst/gl/gstglupload.c @@ -452,6 +452,8 @@ gst_gl_upload_finalize (GObject * object) upload->context = NULL; } + g_mutex_clear (&upload->lock); + G_OBJECT_CLASS (gst_gl_upload_parent_class)->finalize (object); }