mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-17 17:05:50 +00:00
Fix leak on each GFE 3.22 input packet
This commit is contained in:
parent
0a00163f0b
commit
83431e557d
@ -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…
x
Reference in New Issue
Block a user