Subject: Re: bug#77478: Fixes a crash in the Haiku font driver for daemon mode

From: Po Lu <[email-masked]>
Date: Sun, 18 May 2025 08:47:03 +0800

Eli Zaretskii <[email-masked]> writes:

>> > > This fixes double-free bug in Emacs daemon mode on Haiku. To reproduce:
>> > > 
>> > > 1. Start emacs with "emacs --daemon"
>> > > 2. Create a new frame with "emacsclient -c" and then close it.
>> > > 3. Create a new frame with "emacsclient -c"

I think I've fixed this slightly differently.  Please test and ack,
thanks.