mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-02-01 03:06:48 +01:00
Close cursor
This commit is contained in:
parent
8a0f6cb529
commit
61e3d3b2a6
@ -592,6 +592,7 @@ public final class DBReader {
|
||||
|
||||
Cursor itemCursor = adapter.getFeedItemCursor(Long.toString(itemId));
|
||||
if (!itemCursor.moveToFirst()) {
|
||||
itemCursor.close();
|
||||
return null;
|
||||
}
|
||||
List<FeedItem> list = extractItemlistFromCursor(adapter, itemCursor);
|
||||
|
Loading…
x
Reference in New Issue
Block a user