diff options
author | Jan Djärv <jan.h.d@swipnet.se> | 2011-12-22 14:58:40 +0100 |
---|---|---|
committer | Jan Djärv <jan.h.d@swipnet.se> | 2011-12-22 14:58:40 +0100 |
commit | 5ccaba1fdb812151ebc7040d14fd3c2aaaba4bca (patch) | |
tree | 419463aa487be6685dc458f26215fee040579e1b | |
parent | d031f2c7b72ba418abc4bc9622a25bd4fa7d8a6c (diff) | |
download | emacs-5ccaba1fdb812151ebc7040d14fd3c2aaaba4bca.tar.gz |
* nsfont.m (ns_spec_to_descriptor): Do not autorelease fdesc.
-rw-r--r-- | src/ChangeLog | 4 | ||||
-rw-r--r-- | src/nsfont.m | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index e40a7f3fbe0..87750228f43 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2011-12-22 Jan Djärv <jan.h.d@swipnet.se> + + * nsfont.m (ns_spec_to_descriptor): Do not autorelease fdesc. + 2011-12-21 Jan Djärv <jan.h.d@swipnet.se> * nsterm.m (x_free_frame_resources): Release diff --git a/src/nsfont.m b/src/nsfont.m index 080af447b0a..eb57f5e5953 100644 --- a/src/nsfont.m +++ b/src/nsfont.m @@ -155,7 +155,6 @@ ns_spec_to_descriptor (Lisp_Object font_spec) if (family != nil) { fdesc = [fdesc fontDescriptorWithFamily: family]; - [fdesc autorelease]; } [fdAttrs release]; |