Fix memory leaks in drw

The function drw_fontset_free in drw.c was never called.

(cherry picked from commit f04cac6d6e39cd9e3fc4fae526e3d1e8df5e34b2)
This commit is contained in:
Alex Flierl 2020-06-11 15:28:32 +02:00 committed by pgrondek
parent b774677b0a
commit 54d641ef3f

1
drw.c
View File

@ -95,6 +95,7 @@ drw_free(Drw *drw)
{ {
XFreePixmap(drw->dpy, drw->drawable); XFreePixmap(drw->dpy, drw->drawable);
XFreeGC(drw->dpy, drw->gc); XFreeGC(drw->dpy, drw->gc);
drw_fontset_free(drw->fonts);
free(drw); free(drw);
} }