diff options
author | WuNian <nian.wu@intel.com> | 2007-11-27 18:22:42 -0700 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-11-27 18:22:42 -0700 |
commit | 16099c15f5495f22252c6bed655f7f598ebf8001 (patch) | |
tree | 73310e2f2d3e301bef396335a623dfb59d3add5f /src | |
parent | 5c64e6885dd3810a8ac5a49a55f807c5994c30fb (diff) |
remove drawable from hash table when window is deleted (see bug 13091)
Diffstat (limited to 'src')
-rw-r--r-- | src/glx/x11/glxcmds.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glx/x11/glxcmds.c b/src/glx/x11/glxcmds.c index 2d217517af..7ff2bf700c 100644 --- a/src/glx/x11/glxcmds.c +++ b/src/glx/x11/glxcmds.c @@ -101,6 +101,7 @@ static void GarbageCollectDRIDrawables(Display *dpy, __GLXscreenConfigs *sc) longer exists in the Xserver */ (*pdraw->driDrawable.destroyDrawable)(&pdraw->driDrawable); XF86DRIDestroyDrawable(dpy, sc->scr, draw); + __glxHashDelete(sc->drawHash, draw); Xfree(pdraw); } } while (__glxHashNext(sc->drawHash, &draw, (void *)&pdraw) == 1); |