提交 a720c3ff 编写于 作者: P prr

7176447: Lunix/Solaris fontpath.c : double free(family)

Reviewed-by: igor, flar
上级 2afb44e2
...@@ -1240,7 +1240,7 @@ Java_sun_font_FontConfigManager_getFontConfig ...@@ -1240,7 +1240,7 @@ Java_sun_font_FontConfigManager_getFontConfig
FC_CHARSET, 0, &charset); FC_CHARSET, 0, &charset);
if (result != FcResultMatch) { if (result != FcResultMatch) {
free(family); free(family);
free(family); free(fullname);
free(styleStr); free(styleStr);
free(file); free(file);
(*FcPatternDestroy)(pattern); (*FcPatternDestroy)(pattern);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册