summaryrefslogtreecommitdiff
path: root/walk.h
diff options
context:
space:
mode:
Diffstat (limited to 'walk.h')
-rw-r--r--walk.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/walk.h b/walk.h
index 66542da6..80879bf1 100644
--- a/walk.h
+++ b/walk.h
@@ -269,7 +269,7 @@ class clear_transaction_xdata : public item_handler<transaction_t>
public:
virtual void operator()(transaction_t& xact) {
if (xact.data) {
- delete (transaction_xdata_t *) xact.data;
+ checked_delete((transaction_xdata_t *) xact.data);
xact.data = NULL;
}
}
@@ -1016,7 +1016,7 @@ class clear_account_xdata : public item_handler<account_t>
public:
virtual void operator()(account_t& acct) {
if (acct.data) {
- delete (account_xdata_t *) acct.data;
+ checked_delete((account_xdata_t *) acct.data);
acct.data = NULL;
}
}