SWDEV-488306 - Fix memleak for NoGpuTst_hipHostRegister
Change-Id: I919d7f24c1c9bdc9902c5b5cbd7068e8cd48d5ec
[ROCm/hip-tests commit: 255b4f5e79]
This commit is contained in:
committed by
Rahul Manocha
orang tua
24eea67593
melakukan
a6baaab8fc
@@ -525,6 +525,7 @@ static bool NoGpuTst_hipHostRegister() {
|
||||
} else {
|
||||
WARN("Error Code Returned by hipHostRegister: " <<hipGetErrorName(err));
|
||||
}
|
||||
free(hostPtr);
|
||||
return passed;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user