fix memory leak
TBR= BUG=skia: Review URL: https://codereview.chromium.org/668333005
This commit is contained in:
parent
99db3b1308
commit
58a654452f
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user