X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fwinsys%2Fegl_xlib%2Fegl_xlib.c;h=477d766925c8af37a9e191688bb483894bd6dad9;hb=18a4cdcfc00a7a936c4a2fd0db27edba14ae5cd7;hp=e9f821d2764e52dc2084ce706455bd2a18b7ebaa;hpb=9e7c0724bbc62c86dc302a9fe76b3e4288fc4461;p=mesa.git diff --git a/src/gallium/winsys/egl_xlib/egl_xlib.c b/src/gallium/winsys/egl_xlib/egl_xlib.c index e9f821d2764..477d766925c 100644 --- a/src/gallium/winsys/egl_xlib/egl_xlib.c +++ b/src/gallium/winsys/egl_xlib/egl_xlib.c @@ -537,7 +537,7 @@ xlib_eglDestroySurface(_EGLDriver *drv, EGLDisplay dpy, EGLSurface surface) } else { XFreeGC(surf->Dpy, surf->Gc); - st_unreference_framebuffer(&surf->Framebuffer); + st_unreference_framebuffer(surf->Framebuffer); free(surf); } return EGL_TRUE;