aboutsummaryrefslogtreecommitdiffhomepage
path: root/libvo/font_load_ft.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/font_load_ft.c')
-rw-r--r--libvo/font_load_ft.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libvo/font_load_ft.c b/libvo/font_load_ft.c
index 2b4caad215..97bfa7d960 100644
--- a/libvo/font_load_ft.c
+++ b/libvo/font_load_ft.c
@@ -838,9 +838,8 @@ static font_desc_t* init_font_desc(void)
font_desc_t *desc;
int i;
- desc = malloc(sizeof(font_desc_t));
+ desc = calloc(1, sizeof(*desc));
if(!desc) return NULL;
- memset(desc,0,sizeof(font_desc_t));
desc->dynamic = 1;