free all fonts correctly

This commit is contained in:
Markus Teich
2015-11-11 19:00:54 +01:00
parent d302f2efe1
commit b23121b4aa
2 changed files with 2 additions and 1 deletions

1
drw.c
View File

@ -87,7 +87,6 @@ drw_resize(Drw *drw, unsigned int w, unsigned int h) {
void
drw_free(Drw *drw) {
drw_fontset_free(drw->fonts);
XFreePixmap(drw->dpy, drw->drawable);
XFreeGC(drw->dpy, drw->gc);
free(drw);