diff --git a/projects/rccl/test/common/TestBed.cpp b/projects/rccl/test/common/TestBed.cpp index 9359aa75a2..1481ec52a7 100644 --- a/projects/rccl/test/common/TestBed.cpp +++ b/projects/rccl/test/common/TestBed.cpp @@ -537,6 +537,7 @@ namespace RcclUnitTesting { ERROR("Child process %d exited with code %d\n", childId, returnVal); } + delete(childList[childId]); } childList.clear();