Commit d64a4984 authored by Dmitry Antipov's avatar Dmitry Antipov
Browse files

* nsfont.m (nsfont_close): Free glyphs and metrics arrays as well.

parent b89e78fd
......@@ -5,6 +5,7 @@
Avoid Faref and assume that args are always valid. This helps to
speedup search, which is especially important for a huge buffers.
* lisp.h (char_table_translate): Remove prototype.
* nsfont.m (nsfont_close): Free glyphs and metrics arrays as well.
2014-07-08 Paul Eggert <eggert@cs.ucla.edu>
......
......@@ -945,6 +945,8 @@ when setting family in ns_spec_to_descriptor(). */
xfree (font_info->glyphs[i]);
xfree (font_info->metrics[i]);
}
xfree (font_info->glyphs);
xfree (font_info->metrics);
[font_info->nsfont release];
#ifdef NS_IMPL_COCOA
CGFontRelease (font_info->cgfont);
......
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