Minor fix for previous delete refactoring commit
This commit is contained in:
parent
9a60878751
commit
adad1055b8
1 changed files with 5 additions and 0 deletions
|
@ -357,10 +357,15 @@ int ZmbvCodec::FinishCompressFrame(uint8_t** compressedData)
|
|||
void ZmbvCodec::FreeBuffers()
|
||||
{
|
||||
delete[] blocks;
|
||||
blocks = nullptr;
|
||||
delete[] buf1;
|
||||
buf1 = nullptr;
|
||||
delete[] buf2;
|
||||
buf2 = nullptr;
|
||||
delete[] work;
|
||||
work = nullptr;
|
||||
delete[] _buf;
|
||||
_buf = nullptr;
|
||||
}
|
||||
|
||||
ZmbvCodec::ZmbvCodec()
|
||||
|
|
Loading…
Add table
Reference in a new issue