Added a check to msFreeCharArray() to bail if the array itself is NULL.
Merge branch 'master' of github.com:mapserver/mapserver