diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/dabOutput/dabOutput.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dabOutput/dabOutput.h b/src/dabOutput/dabOutput.h index 5ea93db..2f1fc25 100644 --- a/src/dabOutput/dabOutput.h +++ b/src/dabOutput/dabOutput.h @@ -197,7 +197,7 @@ class DabOutputUdp : public DabOutput socket_ = new UdpSocket(); } - ~DabOutputUdp() { + virtual ~DabOutputUdp() { delete socket_; delete packet_; } @@ -316,7 +316,7 @@ class DabOutputZMQ : public DabOutput DabOutputZMQ(const DabOutputZMQ& other) = delete; DabOutputZMQ& operator=(const DabOutputZMQ& other) = delete; - ~DabOutputZMQ() + virtual ~DabOutputZMQ() { zmq_pub_sock_.close(); } |