summaryrefslogtreecommitdiff
path: root/drw.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2020-06-11 18:45:33 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2020-06-11 18:45:33 +0200
commit9b38fda6feda68f95754d5b8932b1a69471df960 (patch)
tree5e2be794ac97c2d0b4066d034a17eb9686699263 /drw.c
parentdb6093f6ec1bb884f7540f2512935b5254750b30 (diff)
Fix memory leaks in drw
Synced from dwm. Patch by Alex Flierl <shad0w73@freenet.de>, thanks.
Diffstat (limited to 'drw.c')
-rw-r--r--drw.c1
1 files changed, 1 insertions, 0 deletions
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);
}