diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-05-24 03:47:07 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2018-05-24 03:47:10 +0200 |
commit | aab52eb9561966977dc158abdc99bb599ea1e989 (patch) | |
tree | af94bd635297235aa30b8c3952fcd2af2c3a6059 /src/main.cpp | |
parent | 81943b72a9a8de72da9dbdd6fa6337aae4d93ccf (diff) |
Fix issues reported by compiler sanitizer
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
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 |