free temporary fontstr arrays
This commit is contained in:
parent
f6455efd52
commit
d302f2efe1
4
sent.c
4
sent.c
@ -562,6 +562,10 @@ void xloadfonts()
|
|||||||
}
|
}
|
||||||
fonts[i] = drw_fontset_create(d, (const char**)fstrs, LEN(fstrs));
|
fonts[i] = drw_fontset_create(d, (const char**)fstrs, LEN(fstrs));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for (j = 0; j < LEN(fontfallbacks); j++)
|
||||||
|
if (fstrs[j])
|
||||||
|
free(fstrs[j]);
|
||||||
}
|
}
|
||||||
|
|
||||||
void bpress(XEvent *e)
|
void bpress(XEvent *e)
|
||||||
|
Loading…
Reference in New Issue
Block a user