don't leak *every* src mask in the ninepatch case. doh.
git-svn-id: http://skia.googlecode.com/svn/trunk@6560 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
7775d66aa0
commit
d198a5b8a7
@ -233,6 +233,8 @@ SkBlurMaskFilterImpl::filterRectsToNine(const SkRect rects[], int count,
|
||||
return kFalse_FilterReturn;
|
||||
}
|
||||
|
||||
SkAutoMaskFreeImage amf(srcM.fImage);
|
||||
|
||||
if (!this->filterMask(&patch->fMask, srcM, matrix, &margin)) {
|
||||
return kFalse_FilterReturn;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user