[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r117490: * nsfont.m (nsfont_close): Free glyphs and
From: |
Dmitry Antipov |
Subject: |
[Emacs-diffs] trunk r117490: * nsfont.m (nsfont_close): Free glyphs and metrics arrays as well. |
Date: |
Tue, 08 Jul 2014 14:19:55 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 117490
revision-id: address@hidden
parent: address@hidden
committer: Dmitry Antipov <address@hidden>
branch nick: trunk
timestamp: Tue 2014-07-08 18:19:34 +0400
message:
* nsfont.m (nsfont_close): Free glyphs and metrics arrays as well.
modified:
src/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1438
src/nsfont.m nsfont.m-20091113204419-o5vbwnq5f7feedwu-8748
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2014-07-08 07:17:04 +0000
+++ b/src/ChangeLog 2014-07-08 14:19:34 +0000
@@ -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 <address@hidden>
=== modified file 'src/nsfont.m'
--- a/src/nsfont.m 2014-07-04 02:28:54 +0000
+++ b/src/nsfont.m 2014-07-08 14:19:34 +0000
@@ -945,6 +945,8 @@
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);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r117490: * nsfont.m (nsfont_close): Free glyphs and metrics arrays as well.,
Dmitry Antipov <=