pcl6: Fix mismatching allocation and deallocation

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Ticket: #12835
This commit is contained in:
Murai Takashi 2016-06-27 05:33:35 +09:00 committed by Adrien Destugues
parent dbb1fa50c6
commit 51bfb05693
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ AbstractDeltaRowCompressor::AbstractDeltaRowCompressor(int rowSize,
AbstractDeltaRowCompressor::~AbstractDeltaRowCompressor()
{
delete fSeedRow;
delete[] fSeedRow;
fSeedRow = NULL;
}

View File

@ -26,7 +26,7 @@ PCL6Writer::PCL6Writer(PCL6WriterStream* stream, uint32 bufferSize)
PCL6Writer::~PCL6Writer()
{
delete fBuffer;
delete[] fBuffer;
fBuffer = NULL;
}