aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-05-24 03:47:07 +0200
committerdec05eba <dec05eba@protonmail.com>2018-05-24 03:47:10 +0200
commitaab52eb9561966977dc158abdc99bb599ea1e989 (patch)
treeaf94bd635297235aa30b8c3952fcd2af2c3a6059 /src/main.cpp
parent81943b72a9a8de72da9dbdd6fa6337aae4d93ccf (diff)
Fix issues reported by compiler sanitizer
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 8b8bddf..f83339f 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -947,7 +947,7 @@ int main(int argc, char **argv)
for(Channel *channel : channels)
{
- channel->update();
+ delete channel;
}
// We need to wait until our `ping` packet for disconnecting is sent to all channels