From 360e74f0a071dfb15bdf8ec93fd703babc6482e9 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Thu, 11 Jun 2020 18:45:33 +0200 Subject: [PATCH] Fix memory leaks in drw Synced from dwm. Patch by Alex Flierl , thanks. --- drw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drw.c b/drw.c index 9880f38..7694955 100644 --- a/drw.c +++ b/drw.c @@ -98,6 +98,7 @@ drw_free(Drw *drw) { XFreePixmap(drw->dpy, drw->drawable); XFreeGC(drw->dpy, drw->gc); + drw_fontset_free(drw->fonts); free(drw); }