fonts are automatically cleaned up

This commit is contained in:
Markus Teich 2015-08-29 02:24:42 +02:00
parent d06622336b
commit 6b002c44b8

4
sent.c
View File

@ -329,10 +329,6 @@ void getfontsize(char *str, unsigned int *width, unsigned int *height)
void cleanup() void cleanup()
{ {
size_t i;
for (i = 0; i < NUMFONTSCALES; i++)
drw_fontset_free(fonts[i]);
drw_scm_free(sc); drw_scm_free(sc);
drw_free(d); drw_free(d);