Xephyr leaks shared memory segments
Submitted by Alex Plotnick
Assigned to Xorg Project Team
Description
Created attachment 58684 Always remove shared memory segments
Whenever possible, Xephyr uses a shared memory XImage for its screen buffer. However, that shared memory segment is not removed, and so persists even after the server exits.
The attached patch uses shmctl to always remove the shared memory segment, causing it to be automatically deleted when the last attached process exits. (It also fixes a few typos in the immediate vicinity.)
Patch 58684, "Always remove shared memory segments":
xephyr-shmctl.patch