From fdf366e74998b983e9cbd134049ad57124af8855 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 19 Jan 2014 05:04:02 -0500 Subject: [PATCH] Fix memory leak --- limelight-common/VideoStream.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/limelight-common/VideoStream.cpp b/limelight-common/VideoStream.cpp index 98e9f8e..436a1b2 100644 --- a/limelight-common/VideoStream.cpp +++ b/limelight-common/VideoStream.cpp @@ -78,6 +78,8 @@ static void DepacketizerThreadProc(void* context) { memcpy(&length, data, sizeof(int)); queueRtpPacket((PRTP_PACKET) &data[sizeof(int)], length); + + free(data); } }