From a9ec1f0f3f2c1a718b45f663b4b75348a9a5672a Mon Sep 17 00:00:00 2001 From: "dmikurube@chromium.org" Date: Thu, 14 Apr 2011 08:30:42 +0000 Subject: Fix memory leaks below file_util::FileEnumerator BUG=79329 TEST=./tools/valgrind/chrome_tests.sh -t test_shell --gtest_filter="FileSystemOperationTest.*" Review URL: http://codereview.chromium.org/6851010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81548 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/fileapi/file_system_file_util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'webkit/fileapi') diff --git a/webkit/fileapi/file_system_file_util.h b/webkit/fileapi/file_system_file_util.h index 9d3eb26..1169d02 100644 --- a/webkit/fileapi/file_system_file_util.h +++ b/webkit/fileapi/file_system_file_util.h @@ -135,6 +135,8 @@ class FileSystemFileUtil { // It will be implemented by each subclass such as FileSystemFileEnumerator. class AbstractFileEnumerator { public: + virtual ~AbstractFileEnumerator() {} + // Returns an empty string if there are no more results. virtual FilePath Next() = 0; -- cgit v1.1