diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/cgeo/geocaching/cgData.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cgeo/geocaching/cgData.java b/src/cgeo/geocaching/cgData.java index ed7a548..796e030 100644 --- a/src/cgeo/geocaching/cgData.java +++ b/src/cgeo/geocaching/cgData.java @@ -2160,6 +2160,11 @@ public class cgData { destinations.add(dest); } while (cursor.moveToNext()); + + } + + if (cursor != null) { + cursor.close(); } return destinations; |
