Compare commits

..

2 Commits

Author SHA1 Message Date
pgrondek
17555f86d1 Update config 2020-07-02 11:41:26 +02:00
Alex Flierl
54d641ef3f Fix memory leaks in drw
The function drw_fontset_free in drw.c was never called.

(cherry picked from commit f04cac6d6e)
2020-06-29 01:24:56 +02:00
2 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,6 @@ static const Rule rules[] = {
* WM_CLASS(STRING) = instance, class
* WM_NAME(STRING) = title
*/
/* class instance title tags mask isfloating monitor */
/* class instance title tags mask isfloating isterminal noswallow monitor */
{"Virt-viewer", NULL, NULL, 1 << 8, 0, 0, 0, -1},

1
drw.c
View File

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