Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix shared memory leak #1722

Merged
merged 1 commit into from
Jan 29, 2024
Merged

Conversation

adamhalim
Copy link
Contributor

The MIT-SHM documentation says to run XShmDetach() first, and then to destroy the segment.

The MIT-SHM documentation:
  https://www.x.org/releases/X11R7.7/doc/xextproto/shm.html
says to run XShmDetach() first, and then to destroy the segment.

(cherry picked from commit 585ee24)
@CendioOssman
Copy link
Member

Oops. We fixed this for the viewer back in 1.8.0, but apparently forgot to check other XShm users.

@CendioOssman CendioOssman merged commit 43d844e into TigerVNC:master Jan 29, 2024
12 checks passed
@samhed samhed added the bug Something isn't working label Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants