diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2025-09-29 18:48:27 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2025-09-29 18:48:27 +0200 |
commit | 7c3abae4e68b6a21f05cb04f3af31217259c0aa9 (patch) | |
tree | 11492be7828b456ffd9fce1a37a7f78561dab017 /dwm.c | |
parent | 93f26863d14666e56e992de3670a77178e66ddf2 (diff) |
Because drw_scm_create() allocates it.
Diffstat (limited to 'dwm.c')
-rw-r--r-- | dwm.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -485,10 +485,8 @@ cleanup(void) cleanupmon(mons); for (i = 0; i < CurLast; i++) drw_cur_free(drw, cursor[i]); - for (i = 0; i < LENGTH(colors); i++) { + for (i = 0; i < LENGTH(colors); i++) drw_scm_free(drw, scheme[i], 3); - free(scheme[i]); - } free(scheme); XDestroyWindow(dpy, wmcheckwin); drw_free(drw); |