mirror of
https://git.suckless.org/dwm
synced 2024-12-26 10:56:31 +00:00
Fix memory leaks in drw
The function drw_fontset_free in drw.c was never called.
This commit is contained in:
parent
f09418bbb6
commit
f04cac6d6e
1 changed files with 1 additions and 0 deletions
1
drw.c
1
drw.c
|
@ -95,6 +95,7 @@ drw_free(Drw *drw)
|
||||||
{
|
{
|
||||||
XFreePixmap(drw->dpy, drw->drawable);
|
XFreePixmap(drw->dpy, drw->drawable);
|
||||||
XFreeGC(drw->dpy, drw->gc);
|
XFreeGC(drw->dpy, drw->gc);
|
||||||
|
drw_fontset_free(drw->fonts);
|
||||||
free(drw);
|
free(drw);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue