Fix memory leak

This commit is contained in:
Akira TAGOH 2018-07-19 12:12:17 +09:00
parent 12be797387
commit eafa931ff9
1 changed files with 3 additions and 0 deletions

View File

@ -568,6 +568,9 @@ FcFontSetList (FcConfig *config,
free (bucket); free (bucket);
} }
if (destroy_os)
FcObjectSetDestroy (os);
return ret; return ret;
bail2: bail2: