Added type safe_string_free.
Added a warning message.