summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Jiyong Park <jiyong@google.com> 2018-11-21 19:00:33 +0900
committer Jiyong Park <jiyong@google.com> 2018-11-22 13:08:52 +0900
commit8437d9f623150ee61a5af8d4871e1e1fde98e89e (patch)
tree6d06ced956c52a31d5e04401ad3b4ac8b28375e1 /vulkan/libvulkan/api.cpp
parentf25cf0661e943e5d80c57d7dbfb61a733a535108 (diff)
Fix double-freeing of ScopedAResource
Default move constructor didn't reset mT to nullptr, which caused double freeing of mT when returning ScopedAResource without NRVO. Fixing the bug by resetting mT to its default value. Test: atest under cts/tests/tests/binder_ndk Change-Id: I04c874f802d8f88fa5f495776c00f7e2f74db094
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions