mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
glx: Destroy dri2Hash on DRI2 display destruction.
Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
(cherry picked from commit a75de67c51)
This commit is contained in:
parent
9e5da5894d
commit
43ad25baa7
1 changed files with 3 additions and 0 deletions
|
|
@ -911,6 +911,9 @@ handle_error:
|
|||
static void
|
||||
dri2DestroyDisplay(__GLXDRIdisplay * dpy)
|
||||
{
|
||||
struct dri2_display *pdp = (struct dri2_display *) dpy;
|
||||
|
||||
__glxHashDestroy(pdp->dri2Hash);
|
||||
Xfree(dpy);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue