diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-10-27 17:17:44 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-10-27 17:17:44 +0000 |
commit | 13788bfbedc2528fbfa71162c888908c88f03ac2 (patch) | |
tree | 1c2f2fabaa330f25ac35cd197a00d323e5abe2f0 /src/gpu/GrAllocator.h | |
parent | c90419199525141a5b98091f856e359bf9daf5b1 (diff) |
Fix leak, reset not called in ~GrTAllocator
Review URL: http://codereview.appspot.com/5328047/
git-svn-id: http://skia.googlecode.com/svn/trunk@2543 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrAllocator.h')
-rwxr-xr-x | src/gpu/GrAllocator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrAllocator.h b/src/gpu/GrAllocator.h index 21c79ec7aa..555e56ffc1 100755 --- a/src/gpu/GrAllocator.h +++ b/src/gpu/GrAllocator.h @@ -141,7 +141,7 @@ template <typename T> class GrTAllocator : GrNoncopyable { public: - virtual ~GrTAllocator() {}; + virtual ~GrTAllocator() { this->reset(); }; /** * Create an allocator |