This patch is at
http://cgit.freedesktop.org/~tade/mesa/commit/?h=xcb-integration&id=20e634059e02b41d061149a45e53dd4933c39953
.
Kristof
>From 20e634059e02b41d061149a45e53dd4933c39953 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Ralovich,=20Krist=C3=B3f?= <[EMAIL PROTECTED]>
Date: Tue, 19 Aug 2008 16:49:13 +0200
Subject: [PATCH] Free the leaked __GLXDRIcontextPrivate.
---
src/glx/x11/dri_glx.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/glx/x11/dri_glx.c b/src/glx/x11/dri_glx.c
index 7f551b2..2cf9cd5 100644
--- a/src/glx/x11/dri_glx.c
+++ b/src/glx/x11/dri_glx.c
@@ -446,6 +446,9 @@ static void driDestroyContext(__GLXDRIcontext *context,
(*psc->core->destroyContext)(pcp->driContext);
XF86DRIDestroyContext(psc->dpy, psc->scr, pcp->hwContextID);
+
+ Xfree(pcp);
+ pcp = NULL;
}
static Bool driBindContext(__GLXDRIcontext *context,
--
1.5.6.3
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev