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:
@@ -57,6 +57,10 @@ QtImageReader::QtImageReader(string path, bool inspect_reader) : path(path), is_
|
||||
}
|
||||
}
|
||||
|
||||
QtImageReader::~QtImageReader()
|
||||
{
|
||||
}
|
||||
|
||||
// Open image file
|
||||
void QtImageReader::Open()
|
||||
{
|
||||
@@ -147,7 +151,7 @@ void QtImageReader::Close()
|
||||
{
|
||||
// Mark as "closed"
|
||||
is_open = false;
|
||||
|
||||
|
||||
// Delete the image
|
||||
image.reset();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user