diff options
author | 2012-03-14 18:34:15 +0000 | |
---|---|---|
committer | 2012-03-14 18:34:15 +0000 | |
commit | 610f716b00f214e4899a102c1bbc1d6a323e114e (patch) | |
tree | db577d4a46494cd440b4169a209efcda11dd6451 /include/core/SkClipStack.h | |
parent | af2313e7e7c6a1ebeb49f966db07f9ea2a8f7ec0 (diff) |
Fix four memory leaks uncovered by valgrinding gm tests.
All are triggered by PDF code.
Two are missing unref's on SkData.
One is a missing unref on a SkAdvancedTypefaceMetrics.
The last is missing destruction of SkClipStack internal state.
BUG=526
Review URL: https://codereview.appspot.com/5824049
git-svn-id: http://skia.googlecode.com/svn/trunk@3386 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkClipStack.h')
-rw-r--r-- | include/core/SkClipStack.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkClipStack.h b/include/core/SkClipStack.h index fc96f031cc..306ba2a490 100644 --- a/include/core/SkClipStack.h +++ b/include/core/SkClipStack.h @@ -18,7 +18,7 @@ class SK_API SkClipStack { public: SkClipStack(); SkClipStack(const SkClipStack& b); - ~SkClipStack() {} + ~SkClipStack(); SkClipStack& operator=(const SkClipStack& b); bool operator==(const SkClipStack& b) const; |