Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
68c69027
Commit
68c69027
authored
Dec 20, 2004
by
Steven Tamm
Browse files
(mac_do_list_fonts): Fix memory leak
parent
134579f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
src/ChangeLog
src/ChangeLog
+4
-0
src/macterm.c
src/macterm.c
+2
-2
No files found.
src/ChangeLog
View file @
68c69027
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>:
...
...
src/macterm.c
View file @
68c69027
...
...
@@ -6426,7 +6426,7 @@ mac_do_list_fonts (pattern, maxnames)
{
font_list = Fcons (fontname, font_list);
if (exact || maxnames > 0 && ++n_fonts >= maxnames)
re
turn font_list
;
b
re
ak
;
}
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)
re
turn font_list
;
b
re
ak
;
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment