From 8b5629e34a73c23b4f65f027e5a1006fc29d9a04 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Tue, 26 Nov 2019 08:23:04 -0500 Subject: [PATCH] fix compilation for with_transcoding=no closes #884 Change-Id: I70492beed191de9ae7167990ee275c0eecc9bd80 (cherry picked from commit 2b879480146d7312186b8d464979a506835b088f) --- daemon/codec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/daemon/codec.c b/daemon/codec.c index 78e03e4ab..b0f8d86a2 100644 --- a/daemon/codec.c +++ b/daemon/codec.c @@ -800,8 +800,10 @@ void codec_handlers_free(struct call_media *m) { g_hash_table_destroy(m->codec_handlers); m->codec_handlers = NULL; m->codec_handler_cache = NULL; +#ifdef WITH_TRANSCODING if (m->dtmf_injector) codec_handler_free(m->dtmf_injector); +#endif }