diff options
author | Bobby Georgescu <georgescu@google.com> | 2013-05-08 10:50:38 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-05-08 10:50:38 -0700 |
commit | 563643da89eba5d22239a0c87f81fb274c52ed17 (patch) | |
tree | 501719bfc5b8c54cfc156293f520a2114538c551 /src/com/android | |
parent | d731825ea5faa5d928f85d45d130efd74ad0645e (diff) | |
parent | bb70a7a3392a798e3af39479cf05f5bd1748ba89 (diff) | |
download | android_packages_apps_Snap-563643da89eba5d22239a0c87f81fb274c52ed17.tar.gz android_packages_apps_Snap-563643da89eba5d22239a0c87f81fb274c52ed17.tar.bz2 android_packages_apps_Snap-563643da89eba5d22239a0c87f81fb274c52ed17.zip |
am 9fcabfb5: Merge "Fix memory leak in SparseArrayBitmapPool" into gb-ub-photos-bryce
* commit '9fcabfb535f9e094f77cbdba5305d04209adc0b3':
Fix memory leak in SparseArrayBitmapPool
Diffstat (limited to 'src/com/android')
-rw-r--r-- | src/com/android/photos/data/SparseArrayBitmapPool.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/photos/data/SparseArrayBitmapPool.java b/src/com/android/photos/data/SparseArrayBitmapPool.java index 851259056..1ef9e9f48 100644 --- a/src/com/android/photos/data/SparseArrayBitmapPool.java +++ b/src/com/android/photos/data/SparseArrayBitmapPool.java @@ -135,6 +135,8 @@ public class SparseArrayBitmapPool { mStore.put(key, newNode); if (newNode.nextInPool == null) { mPoolNodesTail = newNode; + } else { + newNode.nextInPool.prevInPool = newNode; } mSizeBytes += bytes; return true; |