pinosaur
/
dwm.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f09418b
)
Fix memory leaks in drw
author
Alex Flierl
<shad0w73@freenet.de>
Thu, 11 Jun 2020 13:28:32 +0000
(15:28 +0200)
committer
Hiltjo Posthuma
<hiltjo@codemadness.org>
Thu, 11 Jun 2020 16:32:21 +0000
(18:32 +0200)
The function drw_fontset_free in drw.c was never called.
drw.c
patch
|
blob
|
history
diff --git
a/drw.c
b/drw.c
index
8fd1ca4
..
4cdbcbe
100644
(file)
--- 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);
}