bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9943: 24.0.91; Abort in check_glyph_memory


From: Jan Djärv
Subject: bug#9943: 24.0.91; Abort in check_glyph_memory
Date: Sat, 5 Nov 2011 16:50:33 +0100

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

>> From: Jan Djärv <jan.h.d@swipnet.se>
>> Date: Sat, 5 Nov 2011 13:26:08 +0100
>> Cc: Ken Brown <kbrown@cornell.edu>,
>> 9943@debbugs.gnu.org
>> 
> 
>> 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.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]