@stupid-boy free() doesn't except const pointers.  Dunno why on earth you'd wanna try to do such a thing in the first place.

I'm baffled that there's contention here. :)