You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
fix a number of memory leaks
- some were with libav functions - same were due to non-virtual destructors
This commit is contained in:
@@ -61,6 +61,9 @@ FrameMapper::~FrameMapper() {
|
||||
if (is_open)
|
||||
// Auto Close if not already
|
||||
Close();
|
||||
|
||||
delete reader;
|
||||
reader = NULL;
|
||||
}
|
||||
|
||||
/// Get the current reader
|
||||
|
||||
Reference in New Issue
Block a user