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

Reply via email to