diff options
author | Henri Verbeet <[email protected]> | 2011-01-29 15:00:48 -0800 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-01-31 09:29:54 -0700 |
commit | bfc889517ad0d490cce1817eecac146d66bcd923 (patch) | |
tree | 584a723e55c950eedb8fa2d7f0195bd475ae7ffe /src/glx/glxclient.h | |
parent | cbe9fc12a64c3ae89fd1b20e9e165aa4b76293a5 (diff) |
glx: Fix leaks in DRI2 screen creation error paths.
Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/glx/glxclient.h')
-rw-r--r-- | src/glx/glxclient.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 * |