commit d302f2efe13205f45f15f1e92113a44c55b0a0cd
Author: Markus Teich <[email protected]>
AuthorDate: Wed Nov 11 18:53:54 2015 +0100
Commit: Markus Teich <[email protected]>
CommitDate: Wed Nov 11 18:53:54 2015 +0100
free temporary fontstr arrays
diff --git a/sent.c b/sent.c
index a263aaf..d5f7032 100644
--- a/sent.c
+++ b/sent.c
@@ -562,6 +562,10 @@ void xloadfonts()
}
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)