Added root deletion code to fix valgrind error
BUG=skia: R=robertphillips@google.com Author: sugoi@chromium.org Review URL: https://codereview.chromium.org/153893004 git-svn-id: http://skia.googlecode.com/svn/trunk@13308 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
fdbd504950
commit
8df32b978f
@ -191,6 +191,7 @@ SkQuadTree::SkQuadTree(const SkIRect& bounds)
|
||||
}
|
||||
|
||||
SkQuadTree::~SkQuadTree() {
|
||||
SkDELETE(fRoot);
|
||||
}
|
||||
|
||||
void SkQuadTree::insert(void* data, const SkIRect& bounds, bool) {
|
||||
|
Loading…
Reference in New Issue
Block a user