summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/vega/text.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/vega/text.c')
-rw-r--r--src/gallium/state_trackers/vega/text.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/vega/text.c b/src/gallium/state_trackers/vega/text.c
index 14e3cc57551..3537f3fb8ac 100644
--- a/src/gallium/state_trackers/vega/text.c
+++ b/src/gallium/state_trackers/vega/text.c
@@ -157,6 +157,8 @@ void font_destroy(struct vg_font *font)
}
cso_hash_delete(font->glyphs);
+ vg_free_object(&font->base);
+
FREE(font);
}