commit | cb0c5ab54d69f813f4faf4c7ac2092358bc663aa | [log] [tgz] |
---|---|---|
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Jun 29 17:48:17 2011 +0000 |
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Jun 29 17:48:17 2011 +0000 |
tree | 08778a5ac501d4a212ef6811b3dadccb5450aef8 | |
parent | f83ceb99730e124dde80f1780764a9995254c47a [diff] [blame] |
Fix valgrind reported issue, uninit mem in AutoReleaseGeometry::reset() Review URL: http://codereview.appspot.com/4667048/ git-svn-id: http://skia.googlecode.com/svn/trunk@1761 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gpu/src/GrDrawTarget.cpp b/gpu/src/GrDrawTarget.cpp index 0f68872..1e8761f 100644 --- a/gpu/src/GrDrawTarget.cpp +++ b/gpu/src/GrDrawTarget.cpp
@@ -965,5 +965,7 @@ } fTarget = NULL; } + fVertices = NULL; + fIndices = NULL; }