nmh-workers
[Top] [All Lists]

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

2018-02-11 13:32:22
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

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