cleanup schemes and colors
This commit is contained in:
4
dwm.c
4
dwm.c
@@ -485,8 +485,10 @@ 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);
|
||||
|
||||
Reference in New Issue
Block a user