From 7ea6389c56640e86b17ef93870c9e0dd31cc93d5 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Mon, 10 Feb 2020 11:31:25 -0500 Subject: [PATCH] compile fix for with_transcoding=no closes #927 Change-Id: I0f53f31dce31990d999516173be4b483d90b4021 --- daemon/codec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/codec.c b/daemon/codec.c index 5f608c2f5..260367e99 100644 --- a/daemon/codec.c +++ b/daemon/codec.c @@ -804,8 +804,8 @@ void codec_handlers_free(struct call_media *m) { g_hash_table_destroy(m->codec_handlers); m->codec_handlers = NULL; m->codec_handler_cache = NULL; - g_queue_clear_full(&m->codec_handlers_store, __codec_handler_free); #ifdef WITH_TRANSCODING + g_queue_clear_full(&m->codec_handlers_store, __codec_handler_free); m->dtmf_injector = NULL; #endif }