diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2012-06-26 17:56:47 +0200 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2012-06-26 17:56:47 +0200 |
commit | 81295bc07f7c558e18c02b03421bdbfd3d3c28c6 (patch) | |
tree | 5c2befecb2dd94d19704a74d6ef057333ab9db37 /src/de/podfetcher/storage | |
parent | f4fa5dce5f1943d1a5724d529f6bd0be35674cb3 (diff) | |
download | AntennaPod-81295bc07f7c558e18c02b03421bdbfd3d3c28c6.zip |
Made startup loading more stable
Diffstat (limited to 'src/de/podfetcher/storage')
-rw-r--r-- | src/de/podfetcher/storage/PodDBAdapter.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/de/podfetcher/storage/PodDBAdapter.java b/src/de/podfetcher/storage/PodDBAdapter.java index d12f225e8..4169d4570 100644 --- a/src/de/podfetcher/storage/PodDBAdapter.java +++ b/src/de/podfetcher/storage/PodDBAdapter.java @@ -472,6 +472,7 @@ public class PodDBAdapter { .getColumnIndex(KEY_FILE_URL)), cursor.getString(cursor .getColumnIndex(KEY_DOWNLOAD_URL)), cursor.getInt(cursor .getColumnIndex(KEY_DOWNLOADED)) > 0); + cursor.close(); return media; } @@ -492,6 +493,7 @@ public class PodDBAdapter { .getColumnIndex(KEY_FILE_URL)), cursor.getString(cursor .getColumnIndex(KEY_DOWNLOAD_URL)), cursor.getInt(cursor .getColumnIndex(KEY_DOWNLOADED)) > 0); + cursor.close(); return image; } |