Commit 6f929ff3 authored by Akira TAGOH's avatar Akira TAGOH

Fix a memory leak in FcFreeTypeQueryFace

parent 46b2c62f
......@@ -1878,6 +1878,8 @@ FcFreeTypeQueryFace (const FT_Face face,
* Drop our reference to the charset
*/
FcCharSetDestroy (cs);
if (foundry_)
free (foundry_);
return pat;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment