diff options
Diffstat (limited to 'modules/spanningtree/main.cpp')
| -rw-r--r-- | modules/spanningtree/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/spanningtree/main.cpp b/modules/spanningtree/main.cpp index 0c937df60..317dda412 100644 --- a/modules/spanningtree/main.cpp +++ b/modules/spanningtree/main.cpp @@ -881,7 +881,7 @@ ModuleSpanningTree::~ModuleSpanningTree() auto* newsrv = new Server(ServerInstance->Config->ServerId, ServerInstance->Config->ServerName, ServerInstance->Config->ServerDesc); SetLocalUsersServer(newsrv); - delete Utils; + Utils = nullptr; } /* It is IMPORTANT that m_spanningtree is the last module in the chain |
