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 350d9e5db7
commit 68d2681193
1 changed files with 1 additions and 0 deletions

View File

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