From 3a55f9ac922becace239c28db293012c6979d269 Mon Sep 17 00:00:00 2001 From: aiju Date: Sun, 14 Aug 2011 15:12:57 +0200 Subject: [PATCH] libdraw: fixed memory leak --- sys/src/libdraw/freesubfont.c | 1 + 1 file changed, 1 insertion(+) 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);