aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Flierl <shad0w73@freenet.de>2020-06-11 15:28:32 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2020-06-11 18:32:21 +0200
commitf04cac6d6e39cd9e3fc4fae526e3d1e8df5e34b2 (patch)
tree6077c353b8266393d6a84bb04e5b502b3a7ad0ff
parentf09418bbb6651ab4c299cfefbe1d18de401f630e (diff)
downloaddwm-retake-f04cac6d6e39cd9e3fc4fae526e3d1e8df5e34b2.tar.gz
dwm-retake-f04cac6d6e39cd9e3fc4fae526e3d1e8df5e34b2.tar.bz2
Fix memory leaks in drw
The function drw_fontset_free in drw.c was never called.
-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);
}