Free memory for TreeSelection.GetSelectedRows corrected