summaryrefslogtreecommitdiff
path: root/src/server.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-02 00:47:29 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-02 00:47:29 +0000
commit771016b99723ae1b4924b85297817a7957563981 (patch)
tree0064bed1e091e58162a97caa0ea356a7155a3c31 /src/server.cpp
parent8085aa879bd989b526791797910295944a364084 (diff)
More deallocation-at-exit cleanup
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11621 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/server.cpp')
-rw-r--r--src/server.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server.cpp b/src/server.cpp
index c5223561a..cc04d0223 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -43,6 +43,7 @@ void InspIRCd::Exit(int status)
{
this->SendError("Exiting with status " + ConvToStr(status) + " (" + std::string(ExitCodes[status]) + ")");
this->Cleanup();
+ delete this;
}
exit (status);
}