aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-11-10 20:31:44 -0800
committerScott Jackson <daneren2005@gmail.com>2013-11-10 20:31:44 -0800
commit8ea01fa72b44a0a47e07001344dee20edc87e148 (patch)
treed44285a1e84579ee860ce52652092e6c145a8cc8 /src
parent06f3917af7b7bd278b35325c3add851c433ba048 (diff)
downloaddsub-8ea01fa72b44a0a47e07001344dee20edc87e148.tar.gz
dsub-8ea01fa72b44a0a47e07001344dee20edc87e148.tar.bz2
dsub-8ea01fa72b44a0a47e07001344dee20edc87e148.zip
Need to recycle TypedArray
Diffstat (limited to 'src')
-rw-r--r--src/github/daneren2005/dsub/view/SongView.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/view/SongView.java b/src/github/daneren2005/dsub/view/SongView.java
index ea1f63c5..c619834e 100644
--- a/src/github/daneren2005/dsub/view/SongView.java
+++ b/src/github/daneren2005/dsub/view/SongView.java
@@ -205,6 +205,7 @@ public class SongView extends UpdateView implements Checkable {
int[] attrs = new int[] {R.attr.download_none};
TypedArray typedArray = context.obtainStyledAttributes(attrs);
moreButton.setImageResource(typedArray.getResourceId(0, 0));
+ typedArray.recycle();
this.moreImage = R.drawable.download_none_light;
}