getLastQueuedCommand(true) will implictly retain the last command, hence if we're not putting it in the waitlist, we should release it. Change-Id: I1ad4ddcdf1df5237b83e1ea2447eb39a59f7dc3a [ROCm/clr commit: 9998067174]
9998067174