This free() call messes up the buffer handling in scansbr.c:scan();
for now we're going to live with the leak and fix this properly when
we normalize the format engine's memory handling.
comp->c_mn will be run through
FT_LS_ADDR, which will strip off any
pers name. */
comp->c_mn will be run through
FT_LS_ADDR, which will strip off any
pers name. */
+ /* NB: We remove the call to free() here
+ because it interferes with the buffer
+ management in scansbr.c. Revisit this
+ when we clean up memory handling */
+ /* free (comp->c_text); */
comp->c_text = str = strdup (mn->m_text);
comp->c_mn = mn;
}
comp->c_text = str = strdup (mn->m_text);
comp->c_mn = mn;
}