Commit 68c69027 authored by Steven Tamm's avatar Steven Tamm
Browse files

(mac_do_list_fonts): Fix memory leak

parent 134579f2
2004-12-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* macterm.c (mac_do_list_fonts): Fix memory leak
2004-12-20 Richard M. Stallman <rms@gnu.org>
 
* regex.c (re_match_2_internal) <symend, wordend>:
......
......@@ -6426,7 +6426,7 @@ mac_do_list_fonts (pattern, maxnames)
{
font_list = Fcons (fontname, font_list);
if (exact || maxnames > 0 && ++n_fonts >= maxnames)
return font_list;
break;
}
else if (scl_val[XLFD_SCL_PIXEL_SIZE] > 0
&& (ptr = strstr (font_name_table[i], "-0-0-75-75-m-0-")))
......@@ -6446,7 +6446,7 @@ mac_do_list_fonts (pattern, maxnames)
{
font_list = Fcons (fontname, font_list);
if (exact || maxnames > 0 && ++n_fonts >= maxnames)
return font_list;
break;
}
}
}
......
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