You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Improved Cmake scripts to better support Windows, and fixed a large memory leak because *reader was not being deleting after being created in Clip objects.
This commit is contained in:
@@ -99,6 +99,9 @@ void ImageReader::Close()
|
||||
{
|
||||
// Mark as "closed"
|
||||
is_open = false;
|
||||
|
||||
// Delete the image
|
||||
image.reset();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user