SWDEV-447384 - Handle double free case.
Change-Id: I7a1d45c2f7510180911507d56ec863982b161f6c
This commit is contained in:
کامیت شده توسط
Jaydeepkumar Patel
والد
6311ed8a8e
کامیت
43e2bb6126
@@ -171,6 +171,8 @@ hipError_t hipFreeAsync(void* dev_ptr, hipStream_t stream) {
|
||||
// The current implementation has unconditional waits
|
||||
return ihipFree(dev_ptr);
|
||||
}
|
||||
} else {
|
||||
HIP_RETURN(hipErrorInvalidValue);
|
||||
}
|
||||
} else {
|
||||
if (!AMD_DIRECT_DISPATCH) {
|
||||
|
||||
مرجع در شماره جدید
Block a user