diff options
Diffstat (limited to 'layers/core_validation.cpp')
| -rw-r--r-- | layers/core_validation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 78e72aaf..051717f8 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -5659,6 +5659,7 @@ static void PreCallRecordCmdPushDescriptorSetKHR(layer_data *device_data, VkComm new_desc->SetPushDescriptor(); cb_state->lastBound[pipelineBindPoint].boundDescriptorSets[set] = new_desc.get(); cb_state->lastBound[pipelineBindPoint].push_descriptors[set] = std::move(new_desc); + delete [] bindings; } VKAPI_ATTR void VKAPI_CALL CmdPushDescriptorSetKHR(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, |
