Revert "xlib: fix glXDestroyContext in Gallium frontends"
What does this MR do and why?
Revert "xlib: fix glXDestroyContext in Gallium frontends"
This reverts commit abe6d750.
The commit abe6d750 leads to shm leak issue which can be
respectively reproduced with glxinfo
and some Qt OpenGL
test applications. Three of shm segments will be leaked every
time glxinfo runs.
$ ipcs -a
------ Message Queues --------
key msqid owner perms used-bytes messages
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000000 16 luc 600 65536 0
0x00000000 17 luc 600 65536 0
0x00000000 18 luc 600 65536 0
0x00000000 19 luc 600 65536 0
0x00000000 20 luc 600 65536 0
0x00000000 21 luc 600 65536 0
0x00000000 22 luc 600 65536 0
0x00000000 23 luc 600 65536 0
0x00000000 24 luc 600 65536 0
------ Semaphore Arrays --------
key semid owner perms nsems
Fixes: abe6d750 ("xlib: fix glXDestroyContext in Gallium frontends") Reported-by: Julian Hagemeister julian.hagemeister@gmail.com Closes: #9425 (closed) Signed-off-by: Luc Ma luc@sietium.com