/
index
/
mage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
inline
| side by side (parent:
921d59d
)
free the intermediate base64 font buffer
master
author
git
<redacted>
Sat, 23 May 2026 19:12:05 +0000
(15:12 -0400)
committer
git
<redacted>
Sat, 23 May 2026 19:12:05 +0000
(15:12 -0400)
mage.c
patch
|
blob
|
history
diff --git
a/mage.c
b/mage.c
index 6d12d3368f48d177b3e666dc84b776cbeaee8781..0249c31e0347ca764df5940d1a4b66c6f37001e3 100644
(file)
--- a/
mage.c
+++ b/
mage.c
@@
-222,6
+222,8
@@
fontpreload(void)
errx(1, "failed to allocate base64 font");
sprintf(inlineuri, "inline:%s", b64font);
errx(1, "failed to allocate base64 font");
sprintf(inlineuri, "inline:%s", b64font);
+ free(b64font);
+
printf("Loaded font from: %s\n", fontpath);
return inlineuri;
printf("Loaded font from: %s\n", fontpath);
return inlineuri;