mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-12-18 14:04:20 +01:00
Do not leak the packet data
Oops! The content of the packets were never freed.
This commit is contained in:
@@ -123,6 +123,7 @@ static int run_decoder(void *data) {
|
|||||||
packet.data += len;
|
packet.data += len;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
av_packet_unref(&packet);
|
||||||
}
|
}
|
||||||
|
|
||||||
LOGD("End of frames");
|
LOGD("End of frames");
|
||||||
|
|||||||
Reference in New Issue
Block a user