aboutsummaryrefslogtreecommitdiffstats
path: root/utils/src/hiperf.cc
diff options
context:
space:
mode:
Diffstat (limited to 'utils/src/hiperf.cc')
-rw-r--r--utils/src/hiperf.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/src/hiperf.cc b/utils/src/hiperf.cc
index 94e5d998d..078e9c3f1 100644
--- a/utils/src/hiperf.cc
+++ b/utils/src/hiperf.cc
@@ -191,6 +191,11 @@ class HIperfClient {
rtc_callback_(configuration_.rtc_ ? new RTCCallback(*this) : nullptr),
callback_(configuration_.rtc_ ? nullptr : new Callback(*this)) {}
+ ~HIperfClient() {
+ delete callback_;
+ delete rtc_callback_;
+ }
+
void checkReceivedRtcContent(ConsumerSocket &c,
const ContentObject &contentObject) {
if (!configuration_.test_mode_) return;