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:
harukalover 2009-05-21 19:49:23 +00:00
parent 68d705fd22
commit bfce57662e

View file

@ -194,6 +194,7 @@ DummyVideoProvider::DummyVideoProvider(double _fps, int frames, int _width, int
//////////////
// Destructor
DummyVideoProvider::~DummyVideoProvider() {
frame.Clear();
}