Fix bug #17524 with crashes in creating a new frame with invalid font.
commitebdc80316a464f7e6f827f8b79570e47a8ef4812
authorEli Zaretskii <eliz@gnu.org>
Tue, 20 May 2014 16:28:39 +0000 (20 19:28 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 20 May 2014 16:28:39 +0000 (20 19:28 +0300)
treeb72c368d5b615454ebf2ac062c2876de61e985bf
parent293fbc914a32c67f01008c8e5c4e966c4f0e8093
Fix bug #17524 with crashes in creating a new frame with invalid font.

 src/w32fns.c (unwind_create_frame) [GLYPH_DEBUG]: If we are
 unwinding when frame's faces were not initialized yet, increment
 the frame's image-cache reference count before calling
 x_free_frame_resources.  Don't dereference
 dpyinfo->terminal->image_cache if it is NULL.
src/ChangeLog
src/w32fns.c