mirror of
https://github.com/thinkonmay/sunshine-sdk.git
synced 2026-01-03 15:58:43 +00:00
fix memory leak
This commit is contained in:
parent
3ffd73f3d3
commit
60e72abeef
@ -108,7 +108,6 @@ PopFromQueue(VideoPipeline *pipeline,
|
||||
|
||||
memcpy(data, packet->data(), packet->data_size());
|
||||
int size = packet->data_size();
|
||||
packet.release();
|
||||
return size;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user