mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 02:20:11 +01:00
vk/gem: Call VALGRIND_FREELIKE_BLOCK before unmapping
This commit is contained in:
parent
87d98e1935
commit
aa523d3c62
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue