>> When I wrote that comment, nothing in the format engine would ever
>> call free() on component names, so it wasn't a problem. scan() isn't
>> expecting anyone to free those buffers that it is malloc()ing.
>
>Even this?
>
>    free (comp->c_text);
>    comp->c_text = str = strdup (mn->m_text);

Yeah; I wrote that comment in 2012 (commit ef15ffef47), that free() was
added in 2014 (commit ff5eb06992e089).

--Ken

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

Reply via email to