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:
commit-bot@chromium.org 2014-02-04 17:49:54 +00:00
parent fdbd504950
commit 8df32b978f

View File

@ -191,6 +191,7 @@ SkQuadTree::SkQuadTree(const SkIRect& bounds)
}
SkQuadTree::~SkQuadTree() {
SkDELETE(fRoot);
}
void SkQuadTree::insert(void* data, const SkIRect& bounds, bool) {