summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 584b958..7550c82 100644
--- a/src/main.c
+++ b/src/main.c
@@ -681,8 +681,6 @@ free_screen (rp_screen *s)
XFreeGC (dpy, s->normal_gc);
free (s->display_string);
-
- numset_free (s->frames_numset);
}
void
@@ -707,6 +705,9 @@ clean_up ()
}
free (screens);
+ /* Free the global frame numset shared by all screens. */
+ free (rp_frame_numset);
+
free_xinerama();
XFreeFont (dpy, defaults.font);