[Chapel Merge] Fix memory leak for classes/io/classToString

Branch: refs/heads/master
Revision: b429b11
Author: ronawho
Log Message:

Merge pull request #16949 from ronawho/fix-classToString-test-leak

Fix memory leak for classes/io/classToString

[reviewed by @bradcray]

Fix a user memory leak for an unmanaged class in a new test. Also fix
--memleaks support for start_test while here (I tried to use it while
testing, and found the flag was wrong.)

Modified Files:
M test/classes/io/classToString.chpl
M util/test/start_test.py

Compare: Comparing 8401c7405bf2...b429b116aa2f · chapel-lang/chapel · GitHub