From: Alex Flierl Date: Thu, 11 Jun 2020 13:28:32 +0000 (+0200) Subject: Fix memory leaks in drw X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=f04cac6d6e39cd9e3fc4fae526e3d1e8df5e34b2;p=dwm.git Fix memory leaks in drw The function drw_fontset_free in drw.c was never called. --- diff --git a/drw.c b/drw.c index 8fd1ca4..4cdbcbe 100644 --- a/drw.c +++ b/drw.c @@ -95,6 +95,7 @@ drw_free(Drw *drw) { XFreePixmap(drw->dpy, drw->drawable); XFreeGC(drw->dpy, drw->gc); + drw_fontset_free(drw->fonts); free(drw); }