]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix bug #9943 on X.
authorEli Zaretskii <eliz@gnu.org>
Thu, 3 Nov 2011 21:56:32 +0000 (23:56 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 3 Nov 2011 21:56:32 +0000 (23:56 +0200)
 src/xfns.c (unwind_create_frame): If needed, free the glyph
 matrices of the partially constructed frame.

src/ChangeLog
src/xfns.c

index 67f8507a26bca63055c6780b1f05e301a15d4636..cc3391cfee52f16faf8e6db9e4a48ca079ed38b7 100644 (file)
@@ -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  <eliz@gnu.org>
 
index 913cde75d913a8715b109a82b137c4f86aaafe19..ac030582ffe3936d38aa6d34ba4db99e045a584f 100644 (file)
@@ -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.  */