diff options
Diffstat (limited to 'src/server/events')
-rw-r--r-- | src/server/events/Delta.cpp | 3 | ||||
-rw-r--r-- | src/server/events/DisconnectAll.cpp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/server/events/Delta.cpp b/src/server/events/Delta.cpp index e5ff8325..e120e610 100644 --- a/src/server/events/Delta.cpp +++ b/src/server/events/Delta.cpp @@ -102,8 +102,9 @@ Delta::Delta(Engine& engine, Delta::~Delta() { - for (auto& s : _set_events) + for (auto& s : _set_events) { delete s; + } delete _create_event; } diff --git a/src/server/events/DisconnectAll.cpp b/src/server/events/DisconnectAll.cpp index 6d018c81..11311d12 100644 --- a/src/server/events/DisconnectAll.cpp +++ b/src/server/events/DisconnectAll.cpp @@ -66,8 +66,9 @@ DisconnectAll::DisconnectAll(Engine& engine, DisconnectAll::~DisconnectAll() { - for (auto& i : _impls) + for (auto& i : _impls) { delete i; + } } bool |