Fix leak on each GFE 3.22 input packet
This commit is contained in:
parent
0a00163f0b
commit
83431e557d
1 changed files with 1 additions and 0 deletions
|
|
@ -326,6 +326,7 @@ static void inputSendThreadProc(void* context) {
|
|||
// the encryption.
|
||||
if (encryptedControlStream) {
|
||||
err = (SOCK_RET)sendInputPacketOnControlStream((unsigned char*)&holder->packet, holder->packetLength);
|
||||
free(holder);
|
||||
if (err < 0) {
|
||||
Limelog("Input: sendInputPacketOnControlStream() failed: %d\n", (int) err);
|
||||
ListenerCallbacks.connectionTerminated(err);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue