summaryrefslogtreecommitdiff
path: root/drivers/nrex/nrex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/nrex/nrex.cpp')
-rw-r--r--drivers/nrex/nrex.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/nrex/nrex.cpp b/drivers/nrex/nrex.cpp
index 03e5334ed9..36a5bb4ced 100644
--- a/drivers/nrex/nrex.cpp
+++ b/drivers/nrex/nrex.cpp
@@ -181,7 +181,7 @@ struct nrex_node
{
if (next)
{
- delete next;
+ NREX_DELETE(next);
}
}
@@ -227,7 +227,7 @@ struct nrex_node_group : public nrex_node
{
for (unsigned int i = 0; i < childset.size(); ++i)
{
- delete childset[i];
+ NREX_DELETE(childset[i]);
}
}
@@ -471,7 +471,7 @@ struct nrex_node_quantifier : public nrex_node
{
if (child)
{
- delete child;
+ NREX_DELETE(child);
}
}
@@ -598,7 +598,7 @@ nrex::~nrex()
{
if (_root)
{
- delete _root;
+ NREX_DELETE(_root);
}
}
@@ -612,7 +612,7 @@ void nrex::reset()
_capturing = 0;
if (_root)
{
- delete _root;
+ NREX_DELETE(_root);
}
_root = NULL;
}