mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-10-21 15:57:21 +00:00
Fix memory leak
This commit is contained in:
1 parent
128a5e113a
commit
fdf366e749
1 file changed
+2
@@ -78,6 +78,8 @@ static void DepacketizerThreadProc(void* context) {
|
||||
|
||||
memcpy(&length, data, sizeof(int));
|
||||
queueRtpPacket((PRTP_PACKET) &data[sizeof(int)], length);
|
||||
|
||||
free(data);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user