Browse Source

Fix memory leaks in drw

Synced from dwm.
Patch by Alex Flierl <shad0w73@freenet.de>, thanks.
master
Hiltjo Posthuma 5 years ago
parent
commit
9b38fda6fe
  1. 1
      drw.c

1
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);
}

Loading…
Cancel
Save