Subject: bug#9943: 24.0.91; Abort in check_glyph_memory

From: Jan Djärv <[email-masked]>
Date: Sat, 5 Nov 2011 16:50:33 +0100

5 nov 2011 kl. 14:18 skrev Eli Zaretskii:

>> From: Jan Djärv <[email-masked]>
>> Date: Sat, 5 Nov 2011 13:26:08 +0100
>> Cc: Ken Brown <[email-masked]>,
>> [email-masked]
>> 
> 
>> In x-create-frame terminal->reference_count gets incremented before record_unwind_protect, but it is not decremented in case the unwind protect function is called.
> 
> Isn't it safer (from the POV of potentially destabilizing Emacs during
> a pretest) to leave the increment where it was, and decrement it in the
> unwind protect function?
> 

Maybe, but I rather leave it as is, so it mirrors the dpyinfo->reference_count usage.

	Jan D.