aboutsummaryrefslogtreecommitdiff
path: root/libs/libgui/psf.c
diff options
context:
space:
mode:
authorMarvin Borner2021-04-18 13:05:33 +0200
committerMarvin Borner2021-04-18 13:05:33 +0200
commite1fea940e4c642b1c883429ed5f2a69d51b84270 (patch)
tree79884ba0ccdb9575553f4fb75e176cea31bb9cd6 /libs/libgui/psf.c
parentcdf029471736f43776452930b7195a06ab143654 (diff)
Fixed some memory leaks
Diffstat (limited to 'libs/libgui/psf.c')
-rw-r--r--libs/libgui/psf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/libgui/psf.c b/libs/libgui/psf.c
index 751421a..95678ed 100644
--- a/libs/libgui/psf.c
+++ b/libs/libgui/psf.c
@@ -48,6 +48,7 @@ struct font *psf_parse(char *data)
}
struct font *font = malloc(sizeof(*font));
+ font->raw = data;
font->chars = chars;
font->size.x = width;
font->size.y = height;