nmh-workers
[Top][All Lists]
Advanced

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

Re: [Nmh-workers] GCC 8 pre-releases have escaped...


From: Ralph Corderoy
Subject: Re: [Nmh-workers] GCC 8 pre-releases have escaped...
Date: Sun, 11 Feb 2018 23:14:22 +0000

Hi,

David wrote:
> Even this?
>
>     free (comp->c_text);
>     comp->c_text = str = strdup (mn->m_text);

I haven't been following closely, but if the problem is

    if (comp->c_mn != &fmt_mnull)
        mnfree (comp->c_mn);

no longer holds true because it also shouldn't be freed on other special
occasions, then how about adding a comp->i_am_a_snowflake_do_not_free_me
Boolean as another bodge?  A crude, special-purpose, reference count to
stir up the GC advocates.  :-)

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy



reply via email to

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