mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-07 12:51:33 +00:00
Coverity: Delete allocated section in error case
This commit is contained in:
1 parent
5eb5ca168d
commit
6c5573ec3b
1 file changed
+2
@@ -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