Use SimTK::Array deallocate so that both the Array and the data it points to are free'd in the destructor. Seems to fix testInitState reported memory leak [ci valgrind]
Use SimTK::Array deallocate so that both the Array and the data it points to are free'd in the destructor. Seems to fix testInitState reported memory leak [ci valgrind]

opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core