8 Jul
2006
8 Jul
'06
4:28 p.m.
Hi, I am trying to constify some of the "name" strings in this file. But I am running into problems caused by what seems to be an unusual use of the free() function. To my novice eye, it appears that, in functions such as get_type(), the author is trying to free strings that were not given space via malloc(). Is free() being used correctly in this file? Can I remove these calls to free()? Thanks, -- Andy.