diff options
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/events/Delete.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/events/Delete.cpp b/src/server/events/Delete.cpp index 6d2703b9..013b18fc 100644 --- a/src/server/events/Delete.cpp +++ b/src/server/events/Delete.cpp @@ -178,9 +178,9 @@ Delete::post_process() } else if (_patch_node_listnode || _patch_port_listnode) { if (_patch_node_listnode) { _node->deactivate(); - _engine.maid()->push(_patch_node_listnode); + delete _patch_node_listnode; } else if (_patch_port_listnode) { - _engine.maid()->push(_patch_port_listnode); + delete _patch_port_listnode; } respond(SUCCESS); @@ -198,7 +198,7 @@ Delete::post_process() _engine_port->destroy(); } - _engine.maid()->push(_garbage); + delete _garbage; } } // namespace Events |