Replaced pointers to vector. Refs #10013.
Cleaned the codes. Refs #10013.
Merge remote branch 'origin/bugfix/10013_loadgss_coverity'