You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
plug another small leak
This commit is contained in:
@@ -1038,6 +1038,8 @@ int FFmpegReader::GetNextPacket() {
|
||||
// Update current packet pointer
|
||||
packet = next_packet;
|
||||
}
|
||||
else
|
||||
delete next_packet;
|
||||
}
|
||||
// Return if packet was found (or error number)
|
||||
return found_packet;
|
||||
|
||||
Reference in New Issue
Block a user