TEST: Fix memory leak in a test.
TEST: Fix memory leak in a test.

shssf/ucx,sergsagal1/ucx_rocm,abouteiller/ucx,abouteiller/ucx,abouteiller/ucx,sergsagal1/ucx_rocm,shssf/ucx,shssf/ucx,abouteiller/ucx,sergsagal1/ucx_rocm