diff options
author | dmikurube@chromium.org <dmikurube@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-14 08:30:42 +0000 |
---|---|---|
committer | dmikurube@chromium.org <dmikurube@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-14 08:30:42 +0000 |
commit | a9ec1f0f3f2c1a718b45f663b4b75348a9a5672a (patch) | |
tree | c8ee45e7d9e60b26ac6bf588f1af802c441afb51 /webkit/fileapi | |
parent | f58c93c475098ec3a9b7c16efb5aca900e6efb75 (diff) | |
download | chromium_src-a9ec1f0f3f2c1a718b45f663b4b75348a9a5672a.zip chromium_src-a9ec1f0f3f2c1a718b45f663b4b75348a9a5672a.tar.gz chromium_src-a9ec1f0f3f2c1a718b45f663b4b75348a9a5672a.tar.bz2 |
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
Diffstat (limited to 'webkit/fileapi')
-rw-r--r-- | webkit/fileapi/file_system_file_util.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; |