release the memory of the variables in function test_team_addPlayer