From 9475414ecd0b52cac711b4692902fdcc7a7a026a Mon Sep 17 00:00:00 2001 From: Denis Davydov Date: Thu, 19 Jul 2018 12:53:32 +0300 Subject: [PATCH] Added destructor to class Network --- src/kernel/network.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/kernel/network.cpp b/src/kernel/network.cpp index 252f9b3..12340fc 100644 --- a/src/kernel/network.cpp +++ b/src/kernel/network.cpp @@ -41,3 +41,8 @@ QString Network::local_ipv6() } return(address.toString()); } + +Network::~Network() +{ + delete udpSocket; +}