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
Previous by Date: | Re: [Nmh-workers] GCC 8 pre-releases have escaped..., David Levine |
---|---|
Next by Date: | Re: [Nmh-workers] GCC 8 pre-releases have escaped..., David Levine |
Previous by Thread: | Re: [Nmh-workers] GCC 8 pre-releases have escaped..., David Levine |
Next by Thread: | Re: [Nmh-workers] GCC 8 pre-releases have escaped..., David Levine |
Indexes: | [Date] [Thread] [Top] [All Lists] |