aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrAllocator.h
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-10-27 17:17:44 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-10-27 17:17:44 +0000
commit13788bfbedc2528fbfa71162c888908c88f03ac2 (patch)
tree1c2f2fabaa330f25ac35cd197a00d323e5abe2f0 /src/gpu/GrAllocator.h
parentc90419199525141a5b98091f856e359bf9daf5b1 (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-xsrc/gpu/GrAllocator.h2
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