From: Eli Zaretskii Date: Thu, 3 Nov 2011 19:04:18 +0000 (+0200) Subject: Fix bug #9943 with abort at shutdown. X-Git-Tag: emacs-pretest-24.0.92~229 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=84c3edb9f2d86fcb6f6c44bd052f64fc9e9cdf60;p=emacs.git Fix bug #9943 with abort at shutdown. src/w32fns.c (unwind_create_frame): If needed, free the glyph matrices of the partially constructed frame. --- diff --git a/src/ChangeLog b/src/ChangeLog index f1ba519d92a..7b3af18c2d5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2011-11-03 Eli Zaretskii + + * w32fns.c (unwind_create_frame): If needed, free the glyph + matrices of the partially constructed frame. + 2011-11-01 Eli Zaretskii * xdisp.c (mouse_face_from_buffer_pos): Fix a typo in a comment. diff --git a/src/w32fns.c b/src/w32fns.c index 2ecd6e91533..f7ba1c59e7b 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -3993,6 +3993,7 @@ unwind_create_frame (Lisp_Object frame) #endif x_free_frame_resources (f); + free_glyphs (f); #if GLYPH_DEBUG /* Check that reference counts are indeed correct. */