diff options
| author | 2021-09-28 20:22:21 -0400 | |
|---|---|---|
| committer | 2021-10-01 18:50:16 -0400 | |
| commit | 94f0df2de89e4d18df1212d3668abc8053ca9f8b (patch) | |
| tree | 95a926b7339565eba541d84910d889630a4b3d9f /vulkan/libvulkan/api.cpp | |
| parent | b935f15830b18ca88764684c5f9ec4967c7f616e (diff) | |
Make MemoryDealer::deallocate private
MemoryDealer allocate returns Allocation objects, whose
destructors call MemoryDealer::deallocate. Any direct call to
MemoryDealer::deallocate will lead to a double deallocate.
This method is currently not used anywhere, however leaving it
public could introduce future bugs.
 - We make the method private so only Allocation can call.
 - Remove deallocate from fuzzing test.
Test: Compiles.
Bug: 201562507
Change-Id: I3fc4b1a2c30fe9aebf0e22fa5a4547f9940d1427
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions