diff options
Diffstat (limited to 'net/disk_cache/file_lock.h')
-rw-r--r-- | net/disk_cache/file_lock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/disk_cache/file_lock.h b/net/disk_cache/file_lock.h index 4134ad9..e2160f0 100644 --- a/net/disk_cache/file_lock.h +++ b/net/disk_cache/file_lock.h @@ -54,7 +54,7 @@ namespace disk_cache { class FileLock { public: explicit FileLock(BlockFileHeader* header); - ~FileLock() { + virtual ~FileLock() { Unlock(); } // Virtual to make sure the compiler never inlines the calls. |