Fix memory leaks in drw
Synced from dwm. Patch by Alex Flierl <shad0w73@freenet.de>, thanks.
This commit is contained in:
parent
fbf7b4caf5
commit
0439eaf6d3
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user