Index: gm/dashing.cpp |
=================================================================== |
--- gm/dashing.cpp (revision 8402) |
+++ gm/dashing.cpp (working copy) |
@@ -202,7 +202,7 @@ |
SkScalar intervals[2] = { dashLength, dashLength }; |
- p.setPathEffect(new SkDashPathEffect(intervals, 2, phase, false)); |
+ p.setPathEffect(new SkDashPathEffect(intervals, 2, phase, false))->unref(); |
SkPoint pts[2]; |