projects
/
sent.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6455ef
)
free temporary fontstr arrays
author
Markus Teich
<markus.teich@stusta.mhn.de>
Wed, 11 Nov 2015 17:53:54 +0000
(18:53 +0100)
committer
Markus Teich
<markus.teich@stusta.mhn.de>
Wed, 11 Nov 2015 17:53:54 +0000
(18:53 +0100)
sent.c
patch
|
blob
|
history
diff --git
a/sent.c
b/sent.c
index a263aaf72aa63a85b0b0d0145f373774d6fa328b..d5f703274689ffee0bf7276db3329759d93c2bf5 100644
(file)
--- 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)