fix memory leak

TBR=
BUG=skia:

Review URL: https://codereview.chromium.org/668333005
This commit is contained in:
joshualitt 2014-10-22 20:53:24 -07:00 committed by Commit bot
parent 99db3b1308
commit 58a654452f

View File

@ -460,6 +460,7 @@ GrGeometryProcessor* DIEllipseEdgeEffect::TestCreate(SkRandom* random,
void GrOvalRenderer::reset() {
SkSafeSetNull(fRRectIndexBuffer);
SkSafeSetNull(fStrokeRRectIndexBuffer);
}
bool GrOvalRenderer::drawOval(GrDrawTarget* target, const GrContext* context, bool useAA,