aboutsummaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index de15add3..f964f7c1 100644
--- a/config.c
+++ b/config.c
@@ -3213,7 +3213,7 @@ config_load(struct config *conf, const char *conf_path,
ret = false;
} else {
conf->fonts[0].count = 1;
- conf->fonts[0].arr = malloc(sizeof(font));
+ conf->fonts[0].arr = xmalloc(sizeof(font));
conf->fonts[0].arr[0] = font;
}
}