SWDEV-549707 - Fix for mem leak in Unit_hipMemImportFromShareableHandle_Positive_Basic (#523)
Co-authored-by: Ioannis Assiouras <Ioannis.Assiouras@amd.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
d5fc1b3703
Коммит
5f2ef0fc4f
@@ -84,6 +84,7 @@ TEST_CASE("Unit_hipMemImportFromShareableHandle_Positive_Basic") {
|
||||
reinterpret_cast<void*>(static_cast<uintptr_t>(shareable_handle)),
|
||||
hipMemHandleTypePosixFileDescriptor));
|
||||
HIP_CHECK(hipMemRelease(handle));
|
||||
HIP_CHECK(hipMemRelease(imported_handle));
|
||||
CTX_DESTROY();
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user