Coverity: Delete allocated section in error case

This commit is contained in:
baldurk
2016-06-09 12:49:34 -07:00
parent 5eb5ca168d
commit 6c5573ec3b
+2
View File
@@ -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;
}