projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
158d42c
)
glx: Destroy dri2Hash on DRI2 display destruction.
author
Henri Verbeet
<hverbeet@gmail.com>
Thu, 7 Apr 2011 21:48:28 +0000
(23:48 +0200)
committer
Henri Verbeet
<hverbeet@gmail.com>
Sun, 10 Apr 2011 16:53:33 +0000
(18:53 +0200)
Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
src/glx/dri2_glx.c
patch
|
blob
|
history
diff --git
a/src/glx/dri2_glx.c
b/src/glx/dri2_glx.c
index 2c28bc271500a47e13a945159b2fca76d16d2f34..fc0237a4f6b122be9be662cd9104a3f6205a3c25 100644
(file)
--- a/
src/glx/dri2_glx.c
+++ b/
src/glx/dri2_glx.c
@@
-945,6
+945,9
@@
handle_error:
static void
dri2DestroyDisplay(__GLXDRIdisplay * dpy)
{
+ struct dri2_display *pdp = (struct dri2_display *) dpy;
+
+ __glxHashDestroy(pdp->dri2Hash);
Xfree(dpy);
}