mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 17:24:08 +02:00
delete _lastVoxelPacket in ~VoxelNodeData()
This commit is contained in:
parent
3ed61db873
commit
b10d111891
1 changed files with 1 additions and 0 deletions
|
@ -108,6 +108,7 @@ void VoxelNodeData::writeToPacket(unsigned char* buffer, int bytes) {
|
|||
|
||||
VoxelNodeData::~VoxelNodeData() {
|
||||
delete[] _voxelPacket;
|
||||
delete[] _lastVoxelPacket;
|
||||
|
||||
if (_voxelSendThread) {
|
||||
_voxelSendThread->terminate();
|
||||
|
|
Loading…
Reference in a new issue