aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/dashing.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/dashing.cpp')
-rw-r--r--gm/dashing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/dashing.cpp b/gm/dashing.cpp
index 7fe3029ca2..bbd0b65c20 100644
--- a/gm/dashing.cpp
+++ b/gm/dashing.cpp
@@ -202,7 +202,7 @@ protected:
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];