Commit de24e3eb authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(ftfont_spec_pattern): Free charset if necessary.

parent f8381803
......@@ -617,6 +617,7 @@ ftfont_spec_pattern (spec, fc_charset_idx, otlayout, otspec)
finish:
if (langset) FcLangSetDestroy (langset);
if (charset && *fc_charset_idx < 0) FcCharSetDestroy (charset);
return pattern;
}
......
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