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
68d705fd22
commit
bfce57662e
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