From 5ccaba1fdb812151ebc7040d14fd3c2aaaba4bca Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Dj=C3=A4rv?= Date: Thu, 22 Dec 2011 14:58:40 +0100 Subject: [PATCH] * nsfont.m (ns_spec_to_descriptor): Do not autorelease fdesc. --- src/ChangeLog | 4 ++++ src/nsfont.m | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) 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 + + * nsfont.m (ns_spec_to_descriptor): Do not autorelease fdesc. + 2011-12-21 Jan Djärv * 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]; -- 2.39.2