Fixed memory leak in bitmaprect GM

https://codereview.appspot.com/6593058/



git-svn-id: http://skia.googlecode.com/svn/trunk@5763 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
robertphillips@google.com 2012-10-02 11:47:16 +00:00
parent dc3a4e5fa8
commit 8fdb4c16a1

View File

@ -201,7 +201,7 @@ protected:
SkPaint paint;
paint.setAlpha(128);
paint.setXfermode(mode);
paint.setXfermode(mode)->unref();
SkBitmap bitmap;
make_big_bitmap(&bitmap);