cleanup schemes and colors

This commit is contained in:
Hiltjo Posthuma
2025-09-27 12:10:37 +02:00
parent d893c63cdd
commit 77f96d704b
3 changed files with 30 additions and 4 deletions

View File

@@ -101,8 +101,10 @@ cleanup(void)
size_t i;
XUngrabKeyboard(dpy, CurrentTime);
for (i = 0; i < SchemeLast; i++)
for (i = 0; i < SchemeLast; i++) {
drw_scm_free(drw, scheme[i], 2);
free(scheme[i]);
}
for (i = 0; items && items[i].text; ++i)
free(items[i].text);
free(items);