summaryrefslogtreecommitdiff
path: root/src/xpath.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xpath.h')
-rw-r--r--src/xpath.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xpath.h b/src/xpath.h
index 76625436..638ec482 100644
--- a/src/xpath.h
+++ b/src/xpath.h
@@ -428,7 +428,7 @@ public:
"Releasing " << this << ", refc now " << refc - 1);
assert(refc > 0);
if (--refc == 0)
- delete this;
+ checked_delete(this);
}
op_t * acquire() {
DEBUG("ledger.xpath.memory",