Added type safe_string_free.
Added a warning message.
Merge branch '1.8'.