From bfc889517ad0d490cce1817eecac146d66bcd923 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Sat, 29 Jan 2011 15:00:48 -0800 Subject: glx: Fix leaks in DRI2 screen creation error paths. Signed-off-by: Brian Paul --- src/glx/glxclient.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/glx/glxclient.h') diff --git a/src/glx/glxclient.h b/src/glx/glxclient.h index 36a0808c048..fdcef8075a8 100644 --- a/src/glx/glxclient.h +++ b/src/glx/glxclient.h @@ -585,6 +585,8 @@ struct glx_display extern int glx_screen_init(struct glx_screen *psc, int screen, struct glx_display * priv); +extern void +glx_screen_cleanup(struct glx_screen *psc); #if defined(GLX_DIRECT_RENDERING) && !defined(GLX_USE_APPLEGL) extern __GLXDRIdrawable * -- cgit v1.2.3