diff --git a/subprojects/gst-plugins-good/ext/qt/gstqtglutility.cc b/subprojects/gst-plugins-good/ext/qt/gstqtglutility.cc index e35f03494f..ad04f14b17 100644 --- a/subprojects/gst-plugins-good/ext/qt/gstqtglutility.cc +++ b/subprojects/gst-plugins-good/ext/qt/gstqtglutility.cc @@ -183,7 +183,7 @@ gst_qt_get_gl_wrapcontext (GstGLDisplay * display, GstGLAPI G_GNUC_UNUSED gl_api; guintptr G_GNUC_UNUSED gl_handle; GstGLContext *current; - GError *error; + GError *error = NULL; g_return_val_if_fail (display != NULL && wrap_glcontext != NULL, FALSE);