commit 9b38fda6feda68f95754d5b8932b1a69471df960
parent db6093f6ec1bb884f7540f2512935b5254750b30
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 11 Jun 2020 18:45:33 +0200
Fix memory leaks in drw
Synced from dwm.
Patch by Alex Flierl <shad0w73@freenet.de>, thanks.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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);
}