vk/gem: Call VALGRIND_FREELIKE_BLOCK before unmapping
This commit is contained in:
+1
-1
@@ -123,8 +123,8 @@ anv_gem_mmap(struct anv_device *device, uint32_t gem_handle,
|
||||
void
|
||||
anv_gem_munmap(void *p, uint64_t size)
|
||||
{
|
||||
munmap(p, size);
|
||||
VG(VALGRIND_FREELIKE_BLOCK(p, 0));
|
||||
munmap(p, size);
|
||||
}
|
||||
|
||||
int
|
||||
|
||||
Reference in New Issue
Block a user