mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Coverity: Delete allocated section in error case
This commit is contained in:
@@ -564,6 +564,8 @@ Serialiser::Serialiser(size_t length, const byte *memoryBuf, bool fileheader)
|
||||
|
||||
m_ErrorCode = eSerError_Corrupt;
|
||||
m_HasError = true;
|
||||
|
||||
SAFE_DELETE(frameCap);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user