From aab52eb9561966977dc158abdc99bb599ea1e989 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 24 May 2018 03:47:07 +0200 Subject: Fix issues reported by compiler sanitizer --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.cpp') 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 -- cgit v1.2.3-70-g09d2