mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-10-27 14:29:58 +00:00
Fix leak on each GFE 3.22 input packet
This commit is contained in:
1 parent
0a00163f0b
commit
83431e557d
1 file changed
+1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user