diff --git a/sys/src/libdraw/freesubfont.c b/sys/src/libdraw/freesubfont.c index 6830b9dcd..b4d8b1a2e 100644 --- a/sys/src/libdraw/freesubfont.c +++ b/sys/src/libdraw/freesubfont.c @@ -11,6 +11,7 @@ freesubfont(Subfont *f) if(f->ref > 0) return; uninstallsubfont(f); + free(f->name); free(f->info); /* note: f->info must have been malloc'ed! */ freeimage(f->bits); free(f);