Agent temp array could have leaked if one of the given agent handles was invalid. Change-Id: I9e638b3a4f6bb917a4e3209ad81a1253bb603365 [ROCm/ROCR-Runtime commit: b198016949]
b198016949