diff options
author | bsalomon <bsalomon@google.com> | 2016-07-14 07:22:19 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-07-14 07:22:19 -0700 |
commit | 67c6c8e229643a3e722e24413446ad7c9e4e5fd3 (patch) | |
tree | ee64bdaccb9e2e745ed0c29bf4800bdeedd6c311 /src/gpu/batches | |
parent | abda35d2b77f2765985ab16d3417c5cce296b8af (diff) |
Fix leak when DFPR fails to draw path
TBR=jvanverth@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2144283002
Review-Url: https://codereview.chromium.org/2144283002
Diffstat (limited to 'src/gpu/batches')
-rw-r--r-- | src/gpu/batches/GrAADistanceFieldPathRenderer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpu/batches/GrAADistanceFieldPathRenderer.cpp b/src/gpu/batches/GrAADistanceFieldPathRenderer.cpp index 553ac6e0c6..a9ba94da40 100644 --- a/src/gpu/batches/GrAADistanceFieldPathRenderer.cpp +++ b/src/gpu/batches/GrAADistanceFieldPathRenderer.cpp @@ -264,6 +264,7 @@ private: args.fAntiAlias, desiredDimension, scale)) { + delete shapeData; SkDebugf("Can't rasterize path\n"); continue; } |