diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2020-06-11 18:45:33 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2020-06-11 18:45:33 +0200 |
commit | 9b38fda6feda68f95754d5b8932b1a69471df960 (patch) | |
tree | 5e2be794ac97c2d0b4066d034a17eb9686699263 | |
parent | db6093f6ec1bb884f7540f2512935b5254750b30 (diff) |
Fix memory leaks in drw
Synced from dwm.
Patch by Alex Flierl <shad0w73@freenet.de>, thanks.
-rw-r--r-- | drw.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -95,6 +95,7 @@ drw_free(Drw *drw) | |||
95 | { | 95 | { |
96 | XFreePixmap(drw->dpy, drw->drawable); | 96 | XFreePixmap(drw->dpy, drw->drawable); |
97 | XFreeGC(drw->dpy, drw->gc); | 97 | XFreeGC(drw->dpy, drw->gc); |
98 | drw_fontset_free(drw->fonts); | ||
98 | free(drw); | 99 | free(drw); |
99 | } | 100 | } |
100 | 101 | ||