You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Merge pull request #36733 from qarmin/static_analyzer_fixes
Fixes bugs found by Sonarcloud and Coverity
This commit is contained in:
@@ -4182,7 +4182,10 @@ RenderingDeviceVulkan::DescriptorPool *RenderingDeviceVulkan::_descriptor_pool_a
|
||||
descriptor_pool_create_info.poolSizeCount = sizes.size();
|
||||
descriptor_pool_create_info.pPoolSizes = sizes.ptr();
|
||||
VkResult res = vkCreateDescriptorPool(device, &descriptor_pool_create_info, NULL, &pool->pool);
|
||||
ERR_FAIL_COND_V(res, NULL);
|
||||
if (res) {
|
||||
memdelete(pool);
|
||||
ERR_FAIL_COND_V(res, NULL);
|
||||
}
|
||||
descriptor_pools[p_key].insert(pool);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user