diff options
-rw-r--r-- | src/glx/clientinfo.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glx/clientinfo.c b/src/glx/clientinfo.c index e90fd796297..8f3fdeba4aa 100644 --- a/src/glx/clientinfo.c +++ b/src/glx/clientinfo.c @@ -113,6 +113,10 @@ __glX_send_client_info(struct glx_display *glx_dpy) } gl_extension_string = __glXGetClientGLExtensionString(); + if (gl_extension_string == NULL) { + return; + } + gl_extension_length = strlen(gl_extension_string) + 1; c = XGetXCBConnection(glx_dpy->dpy); |