Index: src/gpu/GrRecordReplaceDraw.cpp |
diff --git a/src/gpu/GrRecordReplaceDraw.cpp b/src/gpu/GrRecordReplaceDraw.cpp |
index b53f003904df3854a8eea59554108fd315e16209..932e5be6c49f46867b572109070ece1e807e5e4b 100644 |
--- a/src/gpu/GrRecordReplaceDraw.cpp |
+++ b/src/gpu/GrRecordReplaceDraw.cpp |
@@ -17,6 +17,7 @@ GrReplacements::ReplacementInfo* GrReplacements::push() { |
void GrReplacements::freeAll() { |
for (int i = 0; i < fReplacements.count(); ++i) { |
fReplacements[i].fImage->unref(); |
+ SkDELETE(fReplacements[i].fPaint); |
} |
fReplacements.reset(); |
} |