mirror of
https://github.com/overte-org/overte.git
synced 2025-04-18 00:26:33 +02:00
fix packetData memory leak in AvatarMixer
This commit is contained in:
parent
2931e2e41a
commit
94728d0afb
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ void AvatarMixer::run() {
|
|||
sockaddr nodeAddress = {};
|
||||
ssize_t receivedBytes = 0;
|
||||
|
||||
unsigned char* packetData = new unsigned char[MAX_PACKET_SIZE];
|
||||
unsigned char packetData[MAX_PACKET_SIZE];
|
||||
|
||||
QUuid nodeUUID;
|
||||
Node* avatarNode = NULL;
|
||||
|
|
Loading…
Reference in a new issue