diff options
-rw-r--r-- | include/socketengines/socketengine_select.h | 1 | ||||
-rw-r--r-- | src/socketengines/socketengine_select.cpp | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/include/socketengines/socketengine_select.h b/include/socketengines/socketengine_select.h index 0131297f1..cb4ed0ecf 100644 --- a/include/socketengines/socketengine_select.h +++ b/include/socketengines/socketengine_select.h @@ -42,7 +42,6 @@ private: */ fd_set wfdset, rfdset, errfdset; - EventHandler** ev; public: /** Create a new SelectEngine * @param Instance The creator of this object diff --git a/src/socketengines/socketengine_select.cpp b/src/socketengines/socketengine_select.cpp index 33b8a44b9..f053da6df 100644 --- a/src/socketengines/socketengine_select.cpp +++ b/src/socketengines/socketengine_select.cpp @@ -28,13 +28,11 @@ SelectEngine::SelectEngine(InspIRCd* Instance) : SocketEngine(Instance) memset(writeable, 0, sizeof(writeable)); ref = new EventHandler* [GetMaxFds()]; memset(ref, 0, GetMaxFds() * sizeof(EventHandler*)); - ev = new EventHandler* [GetMaxFds()]; } SelectEngine::~SelectEngine() { delete[] ref; - delete[] ev; } bool SelectEngine::AddFd(EventHandler* eh) |