mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 10:00:40 +00:00
[Coverity] Fix leaking array in error case
This commit is contained in:
@@ -1077,6 +1077,7 @@ bool WrappedVulkan::Serialise_vkCreateDevice(SerialiserType &ser, VkPhysicalDevi
|
||||
{
|
||||
m_FailedReplayStatus = ReplayStatus::APIHardwareUnsupported;
|
||||
RDCERR("Capture requires extension '%s' which is not supported", Extensions[i].c_str());
|
||||
SAFE_DELETE_ARRAY(extArray);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user