commit | c51db02181982fbcb8888e2a89132363a7d9371c | [log] [tgz] |
---|---|---|
author | scroggo <scroggo@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Aug 16 20:30:18 2012 +0000 |
committer | scroggo <scroggo@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Aug 16 20:30:18 2012 +0000 |
tree | b8b150e7677d1925abf66ee0f592db0aec916686 | |
parent | 1d4edd38f6b62d1cc54cb7bc6f3c6ce10ccb1471 [diff] |
Fix a memory leak in SkBitmapHeap. When I switched fLookupTable to be an array of pointers, I did not delete those pointers when I was done with them. Do it now. Also modify SkTDArray::deleteAll to call SkDELETE instead of delete. Review URL: https://codereview.appspot.com/6453129 git-svn-id: http://skia.googlecode.com/svn/trunk@5137 2bbb7eff-a529-9590-31e7-b0007b416f81