mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-01 09:51:22 -08:00
Fix bug #16509 with segfault in an assertion when exiting due to missing font.
src/w32fns.c (unwind_create_frame): Avoid crashing inside assertion when the image cache is not yet allocated.
This commit is contained in:
parent
63389c254e
commit
f7551c6c33
2 changed files with 8 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2014-01-21 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* w32fns.c (unwind_create_frame): Avoid crashing inside assertion
|
||||
when the image cache is not yet allocated. (Bug#16509)
|
||||
|
||||
2014-01-21 Dmitry Antipov <dmantipov@yandex.ru>
|
||||
|
||||
* buffer.c (Fkill_buffer): When killing an indirect buffer,
|
||||
|
|
|
|||
|
|
@ -4250,7 +4250,9 @@ unwind_create_frame (Lisp_Object frame)
|
|||
#ifdef GLYPH_DEBUG
|
||||
/* Check that reference counts are indeed correct. */
|
||||
eassert (dpyinfo->reference_count == dpyinfo_refcount);
|
||||
eassert (dpyinfo->terminal->image_cache->refcount == image_cache_refcount);
|
||||
eassert ((dpyinfo->terminal->image_cache == NULL
|
||||
&& image_cache_refcount == 0)
|
||||
|| dpyinfo->terminal->image_cache->refcount == image_cache_refcount);
|
||||
#endif
|
||||
return Qt;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue