nmh-workers
[Top] [All Lists]

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

2018-02-11 17:14:40
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

-- 
Nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>