diff options
author | Jason Ekstrand <[email protected]> | 2015-06-05 16:41:49 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-06-05 16:41:49 -0700 |
commit | aa523d3c627a3e86aaef48671f1925f666ba33fd (patch) | |
tree | 213c9109eef5417c606ab3ac320d14e76198cbbd | |
parent | 87d98e19357c84a816bb737357e22b02c0e7d40c (diff) |
vk/gem: Call VALGRIND_FREELIKE_BLOCK before unmapping
-rw-r--r-- | src/vulkan/gem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vulkan/gem.c b/src/vulkan/gem.c index 8598deedc71..ab6f5c4dfbd 100644 --- a/src/vulkan/gem.c +++ b/src/vulkan/gem.c @@ -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 |