forked from mia/Aegisub
Fixed a memory leak in the dummy video provider detected by valgrind. The video frame was being allocated but never deallocated.
Originally committed to SVN as r2962.
This commit is contained in:
parent
350d9e5db7
commit
68d2681193
1 changed files with 1 additions and 0 deletions
|
@ -194,6 +194,7 @@ DummyVideoProvider::DummyVideoProvider(double _fps, int frames, int _width, int
|
|||
//////////////
|
||||
// Destructor
|
||||
DummyVideoProvider::~DummyVideoProvider() {
|
||||
frame.Clear();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue