aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/DabMux.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DabMux.cpp b/src/DabMux.cpp
index e698e89..468ba1e 100644
--- a/src/DabMux.cpp
+++ b/src/DabMux.cpp
@@ -1929,7 +1929,7 @@ EXIT:
ensemble->components.clear();
ensemble->services.clear();
ensemble->subchannels.clear();
- free(ensemble);
+ delete ensemble;
outputs.clear();
UdpSocket::clean();