mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
gtk: Fix possibility of NULL variable
It's quite unlikely since it's initialized in instance initialization. CID #1417721
This commit is contained in:
parent
6669ccdae5
commit
63398b8525
1 changed files with 1 additions and 0 deletions
|
@ -496,6 +496,7 @@ gtk_gst_gl_widget_init_winsys (GtkGstGLWidget * gst_widget)
|
|||
GError *error = NULL;
|
||||
|
||||
g_return_val_if_fail (GTK_IS_GST_GL_WIDGET (gst_widget), FALSE);
|
||||
g_return_val_if_fail (priv->display != NULL, FALSE);
|
||||
|
||||
GTK_GST_BASE_WIDGET_LOCK (gst_widget);
|
||||
|
||||
|
|
Loading…
Reference in a new issue