fix, PEBKAC, free snarfed string lest we leak resources
minor, safe-guard mxArrayToString accessor against malicious input
Merge branch 'core/matapi'

* core/matapi:
  minor, safe-guard mxArrayToString accessor against malicious input
  fix, PEBKAC, free snarfed string lest we leak resources