Conformed with the suggestions of the msvc static analyzer. Fixed symbol map error.