aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/src/cgeo/geocaching/cgData.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/cgData.java b/main/src/cgeo/geocaching/cgData.java
index 82c8340..9d7d5ce 100644
--- a/main/src/cgeo/geocaching/cgData.java
+++ b/main/src/cgeo/geocaching/cgData.java
@@ -316,9 +316,11 @@ public class cgData {
private void closePreparedStatements() {
if (statementDescription != null) {
statementDescription.close();
+ statementDescription = null;
}
if (statementLogCount != null) {
statementLogCount.close();
+ statementLogCount = null;
}
}