From bfce57662e58ab2f5abbf8dcc1fa170c61b609b3 Mon Sep 17 00:00:00 2001 From: harukalover Date: Thu, 21 May 2009 19:49:23 +0000 Subject: [PATCH] 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. --- aegisub/src/video_provider_dummy.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/aegisub/src/video_provider_dummy.cpp b/aegisub/src/video_provider_dummy.cpp index 8b5c04ddc..61104443f 100644 --- a/aegisub/src/video_provider_dummy.cpp +++ b/aegisub/src/video_provider_dummy.cpp @@ -194,6 +194,7 @@ DummyVideoProvider::DummyVideoProvider(double _fps, int frames, int _width, int ////////////// // Destructor DummyVideoProvider::~DummyVideoProvider() { + frame.Clear(); }