From 54d641ef3f9615fd545dc86473b313a5ccd9c6ef Mon Sep 17 00:00:00 2001 From: Alex Flierl Date: Thu, 11 Jun 2020 15:28:32 +0200 Subject: [PATCH] Fix memory leaks in drw The function drw_fontset_free in drw.c was never called. (cherry picked from commit f04cac6d6e39cd9e3fc4fae526e3d1e8df5e34b2) --- drw.c | 1 + 1 file changed, 1 insertion(+) 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); }