diff options
author | 2011-06-29 17:48:17 +0000 | |
---|---|---|
committer | 2011-06-29 17:48:17 +0000 | |
commit | cb0c5ab54d69f813f4faf4c7ac2092358bc663aa (patch) | |
tree | 08778a5ac501d4a212ef6811b3dadccb5450aef8 /gpu | |
parent | f83ceb99730e124dde80f1780764a9995254c47a (diff) |
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
Diffstat (limited to 'gpu')
-rw-r--r-- | gpu/src/GrDrawTarget.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gpu/src/GrDrawTarget.cpp b/gpu/src/GrDrawTarget.cpp index 0f68872b76..1e8761fe39 100644 --- a/gpu/src/GrDrawTarget.cpp +++ b/gpu/src/GrDrawTarget.cpp @@ -965,5 +965,7 @@ void GrDrawTarget::AutoReleaseGeometry::reset() { } fTarget = NULL; } + fVertices = NULL; + fIndices = NULL; } |