skia2/include/core
scroggo c51db02181 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
2012-08-16 20:30:18 +00:00
..
Sk64.h Make SkMath.h less visible in public header files. 2011-09-27 17:38:17 +00:00
SkAdvancedTypefaceMetrics.h Expanded distribution of instance counting 2012-06-21 20:25:03 +00:00
SkAnnotation.h Update SkFlattenable buffers to be more modular. 2012-08-07 15:54:32 +00:00
SkBitmap.h Refactor Bitmap Storage for SkPicture using SkPipe's design. 2012-08-07 19:49:41 +00:00
SkBlitRow.h Punctuation cleanup to satisfy idiosyncracies of OpenBSD gcc 4.2.1. 2012-06-01 13:15:47 +00:00
SkBounder.h add more SkInstCnt plumbing 2012-06-26 17:43:26 +00:00
SkCanvas.h Add virtual destructor to class with virtual functions. 2012-07-27 17:37:12 +00:00
SkChecksum.h restore 4478 w/ fixed assert (no long need 8-byte alignment) 2012-07-09 17:44:44 +00:00
SkChunkAlloc.h change SkChunkAlloc to grow its allocations geometrically (not linearly) 2012-05-17 14:28:11 +00:00
SkClipStack.h add SkClipStack::clipEmpty() as an optimized way to say clipDevRect(empty, intersect) 2012-08-16 15:59:59 +00:00
SkColor.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkColorFilter.h Update SkFlattenable buffers to be more modular. 2012-08-07 15:54:32 +00:00
SkColorPriv.h Gamma correcting masks. 2012-07-30 20:40:50 +00:00
SkColorShader.h Use asNewCustomStage instead of asABitmap in SkGpuDevice, also removed now-unecessary twoPointRadialParams parameter from asABitmap. 2012-07-25 17:18:31 +00:00
SkColorTable.h Added Inst counting to SkFlattenable-derived classes 2012-06-27 14:03:26 +00:00
SkComposeShader.h Cleanup code related to SkFlattenable::flatten() 2012-03-29 15:18:04 +00:00
SkData.h Update SkData and SkDataSet to make better use of SkFlattenable. 2012-07-31 13:17:31 +00:00
SkDataSet.h Update SkData and SkDataSet to make better use of SkFlattenable. 2012-07-31 13:17:31 +00:00
SkDeque.h Refactor SkDeque's iterator and allocation method 2012-07-16 16:58:49 +00:00
SkDevice.h Added SkDevice onAttachToCanvas & onDetachFromCanvas methods 2012-07-13 15:36:15 +00:00
SkDither.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkDraw.h move SkTextToPathIter into private header 2012-08-07 15:19:47 +00:00
SkDrawFilter.h add more SkInstCnt plumbing 2012-06-26 17:43:26 +00:00
SkDrawLooper.h Update SkFlattenable buffers to be more modular. 2012-08-07 15:54:32 +00:00
SkEmptyShader.h Cleanup code related to SkFlattenable::flatten() 2012-03-29 15:18:04 +00:00
SkEndian.h Open type table definitions. 2012-02-02 19:15:21 +00:00
SkFixed.h fix warngs by casting from float to int64_t 2012-08-03 13:55:37 +00:00
SkFlate.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkFlattenable.h refactor some subclasses in SkFlattenable.h into SkPtrRecorder.h, in preparation for 2012-08-12 19:25:08 +00:00
SkFlattenableBuffers.h Refactor Bitmap Storage for SkPicture using SkPipe's design. 2012-08-07 19:49:41 +00:00
SkFloatBits.h remove SK_CAN_USE_FLOAT (deprecated) 2012-06-11 21:21:26 +00:00
SkFloatingPoint.h Add SkScalarPow. 2012-07-25 17:00:47 +00:00
SkFontHost.h To allow forward declarations, move SkScalerContext::Rec to SkScalerContextRec 2012-08-14 19:13:55 +00:00
SkGeometry.h Add perspective support to the gpu aa hairline renderer. 2011-09-12 14:59:34 +00:00
SkGraphics.h land https://codereview.appspot.com/6448046/ 2012-07-30 13:08:01 +00:00
SkImage.h Extended Inst counting to find "unknown" leaked object (SkTMaskGamma) 2012-08-16 14:58:06 +00:00
SkImageFilter.h Update SkFlattenable buffers to be more modular. 2012-08-07 15:54:32 +00:00
SkInstCnt.h Extended Inst counting to find "unknown" leaked object (SkTMaskGamma) 2012-08-16 14:58:06 +00:00
SkLineClipper.h special-case edge-building for polygons (paths with only lines) 2012-08-02 14:26:43 +00:00
SkMallocPixelRef.h Reapply "Remove Bitmaps Raw Pixel Support." 2012-07-27 13:41:44 +00:00
SkMask.h move SkAutoMaskFreeImage from SkMaskFilter.h to SkMask.h 2011-10-18 17:35:26 +00:00
SkMaskFilter.h Added Inst counting to SkFlattenable-derived classes 2012-06-27 14:03:26 +00:00
SkMath.h move SkSqrt32 back into SkMath.h -- was referenced in SkEmbossMask.cpp 2012-08-07 21:48:01 +00:00
SkMatrix.h Fix SkMatrix.h line endings (LF) [change 4592 fixed the cpp] 2012-07-13 14:39:51 +00:00
SkMetaData.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkMMapStream.h Closing fd for mmap after mapping succeeds. 2011-12-09 21:19:38 +00:00
SkOSFile.h Adding support to trunk for building Skia using the Android NDK. 2011-11-03 13:08:29 +00:00
SkPackBits.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkPaint.h Update SkFlattenable buffers to be more modular. 2012-08-07 15:54:32 +00:00
SkPath.h Add inst counting to bench and count SkPaths 2012-08-14 13:15:44 +00:00
SkPathEffect.h Added Inst counting to SkFlattenable-derived classes 2012-06-27 14:03:26 +00:00
SkPathMeasure.h add SK_WARN_UNUSED_RESULT warning to SkPathMeasure methods that might leave 2012-04-12 19:44:38 +00:00
SkPicture.h Always store pixels of mutable bitmaps when recording a SkPicture. 2012-07-27 15:58:23 +00:00
SkPixelRef.h Added Inst counting to SkFlattenable-derived classes 2012-06-27 14:03:26 +00:00
SkPoint.h explicitly track if a path is finite or not 2012-07-26 15:20:36 +00:00
SkPostConfig.h Create GPU-less build of Skia. 2012-08-02 14:03:32 +00:00
SkPreConfig.h rm: Introduce SK_ARM_NEON_WRAP handy wrapper macro. 2012-08-06 14:53:32 +00:00
SkRandom.h Add morphology, convolution, single texture, texture domain effects to new unit test system 2012-08-03 18:12:20 +00:00
SkRasterizer.h Added Inst counting to SkFlattenable-derived classes 2012-06-27 14:03:26 +00:00
SkReader32.h fix 64bit warnings (use: GYP_DEFINES=skia_arch_width=64 make ... ) 2012-07-09 13:13:23 +00:00
SkRect.h explicitly track if a path is finite or not 2012-07-26 15:20:36 +00:00
SkRefCnt.h Const correct BlockRef in SkAutoTUnref. 2012-07-30 15:03:59 +00:00
SkRegion.h Rename the existing flatten(void*) methods. 2012-06-08 18:30:46 +00:00
SkScalar.h Add SkScalarPow. 2012-07-25 17:00:47 +00:00
SkScalarCompare.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkShader.h Use asNewCustomStage instead of asABitmap in SkGpuDevice, also removed now-unecessary twoPointRadialParams parameter from asABitmap. 2012-07-25 17:18:31 +00:00
SkSize.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkStream.h Exported SkFILEWStream class so that it can be used in Chrome. 2012-07-17 19:10:36 +00:00
SkString.h Add an SK_PRINTF_LIKE macro, which declares a function to have printf-like 2012-07-09 18:22:08 +00:00
SkSurface.h Extended Inst counting to find "unknown" leaked object (SkTMaskGamma) 2012-08-16 14:58:06 +00:00
SkTArray.h Make SkTArray consider only the new count and reserve when determining how much to alloc 2012-08-14 17:19:08 +00:00
SkTDArray.h Fix a memory leak in SkBitmapHeap. 2012-08-16 20:30:18 +00:00
SkTDict.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkTDStack.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkTemplates.h Reduce allocations in RandomPathBench 2012-08-14 15:10:09 +00:00
SkThread_platform.h Add a skia method to perform an atomic add. 2012-07-16 16:51:28 +00:00
SkThread.h Add a skia method to perform an atomic add. 2012-07-16 16:51:28 +00:00
SkTime.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkTLazy.h Shutup strict aliasing warnings in SkTLazy 2011-09-14 12:44:13 +00:00
SkTrace.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkTRegistry.h Update files to use SK_BUILD_FOR_ANDROID. 2011-11-08 19:00:26 +00:00
SkTScopedPtr.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkTSearch.h Make SkTSearch variants with compare func as template param 2012-07-03 15:03:10 +00:00
SkTypeface.h add getUnitsPerEm() to SkTypeface 2012-07-31 17:24:44 +00:00
SkTypes.h add SkAlign8 and SkIsAlign8 macros 2012-06-27 15:07:11 +00:00
SkUnitMapper.h Added Inst counting to SkFlattenable-derived classes 2012-06-27 14:03:26 +00:00
SkUnPreMultiply.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SkUtils.h Add ARM optimizations to the build. 2012-01-09 14:38:25 +00:00
SkWeakRefCnt.h more SkInstCnt plumbing 2012-06-26 17:55:30 +00:00
SkWriter32.h add readPtr and writePtr to SkReader32 and SkWriter32 2012-06-12 20:47:53 +00:00
SkXfermode.h Added Inst counting to SkFlattenable-derived classes 2012-06-27 14:03:26 +00:00