Fix a memory leak in FcFreeTypeQueryFace
This commit is contained in:
parent
46b2c62faa
commit
6f929ff37c
|
@ -1878,6 +1878,8 @@ FcFreeTypeQueryFace (const FT_Face face,
|
|||
* Drop our reference to the charset
|
||||
*/
|
||||
FcCharSetDestroy (cs);
|
||||
if (foundry_)
|
||||
free (foundry_);
|
||||
|
||||
return pat;
|
||||
|
||||
|
|
Loading…
Reference in New Issue