Skip to content

Commit

Permalink
FvwmPager: free vars on ExitPager
Browse files Browse the repository at this point in the history
When the FvwmPager is closed/killed, ensure we free some of the
variables which had been malloc()d.
  • Loading branch information
ThomasAdam committed Mar 30, 2024
1 parent f5b81fc commit 1e0d6e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/FvwmPager/FvwmPager.c
Original file line number Diff line number Diff line change
Expand Up @@ -2515,5 +2515,7 @@ void ExitPager(void)
XSync(dpy,0);
}
XUngrabKeyboard(dpy, CurrentTime);
free(monitor_to_track);
free(preferred_monitor);
exit(0);
}

0 comments on commit 1e0d6e2

Please sign in to comment.