pinosaur
/
dmenu.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db6093f
)
Fix memory leaks in drw
author
Hiltjo Posthuma
<hiltjo@codemadness.org>
Thu, 11 Jun 2020 16:45:33 +0000
(18:45 +0200)
committer
Hiltjo Posthuma
<hiltjo@codemadness.org>
Thu, 11 Jun 2020 16:45:33 +0000
(18:45 +0200)
Synced from dwm.
Patch by Alex Flierl <shad0w73@freenet.de>, thanks.
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);
}