Use std::unique_ptr temporary handle for pointer to MarkerData so that memory is not leaked if exception is thrown before ownership of MarkerData is transferred.
Use std::unique_ptr temporary handle for pointer to MarkerData so that memory is not leaked if exception is thrown before ownership of MarkerData is transferred.

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