diff options
Diffstat (limited to 'src/glx/dri_glx.c')
-rw-r--r-- | src/glx/dri_glx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glx/dri_glx.c b/src/glx/dri_glx.c index 95cded792d..d0f680de63 100644 --- a/src/glx/dri_glx.c +++ b/src/glx/dri_glx.c @@ -633,6 +633,7 @@ driCreateDrawable(__GLXscreenConfigs *base, if (!pdp) return NULL; + memset(pdp, 0, sizeof *pdp); pdp->base.drawable = drawable; pdp->base.psc = &psc->base; |