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 75f30d3 commit c15626c
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 @@ -1572,6 +1572,7 @@ void ddxGiveUp(enum ExitCode error)
rfbPAMEnd(cl);
#endif
ShutdownTightThreads();
rfbRemoveScreens(&rfbScreens);
free(rfbFB.pfbMemory);
if (initOutputCalled) {
char unixSocketName[32];
Expand Down

0 comments on commit c15626c

Please sign in to comment.