pcl6: Fix mismatching allocation and deallocation
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk> Ticket: #12835
This commit is contained in:
parent
dbb1fa50c6
commit
51bfb05693
@ -26,7 +26,7 @@ AbstractDeltaRowCompressor::AbstractDeltaRowCompressor(int rowSize,
|
||||
|
||||
AbstractDeltaRowCompressor::~AbstractDeltaRowCompressor()
|
||||
{
|
||||
delete fSeedRow;
|
||||
delete[] fSeedRow;
|
||||
fSeedRow = NULL;
|
||||
}
|
||||
|
||||
|
@ -26,7 +26,7 @@ PCL6Writer::PCL6Writer(PCL6WriterStream* stream, uint32 bufferSize)
|
||||
|
||||
PCL6Writer::~PCL6Writer()
|
||||
{
|
||||
delete fBuffer;
|
||||
delete[] fBuffer;
|
||||
fBuffer = NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user