summaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-rw-r--r--base/statistics.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/base/statistics.cc b/base/statistics.cc
index 706d14ffb..b08715162 100644
--- a/base/statistics.cc
+++ b/base/statistics.cc
@@ -289,7 +289,8 @@ Database::reset()
++bi;
}
- orig->activate();
+ if (orig)
+ orig->activate();
}
void