Skip to content

Commit

Permalink
Server: Clean up RFB screen list on exit
Browse files Browse the repository at this point in the history
This mainly makes it easier to debug the server using valgrind.
  • Loading branch information
dcommander committed Aug 3, 2024
1 parent 3531cc2 commit c39f9f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions unix/Xvnc/programs/Xserver/hw/vnc/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -1592,6 +1592,7 @@ void ddxGiveUp(enum ExitCode error)
#endif
ShutdownTightThreads();
TimerFree(pointerLockTimer);
rfbRemoveScreens(&rfbScreens);
free(rfbFB.pfbMemory);
if (initOutputCalled) {
char unixSocketName[32];
Expand Down

0 comments on commit c39f9f9

Please sign in to comment.