From 2a58bbc1830abaf7b51cb9d94df884dc92071ddf Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 3 Nov 2011 23:56:32 +0200 Subject: [PATCH] Fix bug #9943 on X. src/xfns.c (unwind_create_frame): If needed, free the glyph matrices of the partially constructed frame. --- src/ChangeLog | 1 + src/xfns.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 67f8507a26b..cc3391cfee5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -2,6 +2,7 @@ * w32fns.c (unwind_create_frame): If needed, free the glyph matrices of the partially constructed frame. (Bug#9943) + * xfns.c (unwind_create_frame): Likewise. 2011-11-01 Eli Zaretskii diff --git a/src/xfns.c b/src/xfns.c index 913cde75d91..ac030582ffe 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -2936,6 +2936,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. */ -- 2.39.2