From 6c9dcf28732d937b8ea6b5fcf2a8fb9bbe7eb09c 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 (cherry picked from commit 7ea6389c56640e86b17ef93870c9e0dd31cc93d5) --- daemon/codec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/daemon/codec.c b/daemon/codec.c index 4ad79cfee..67f551e17 100644 --- a/daemon/codec.c +++ b/daemon/codec.c @@ -513,7 +513,9 @@ 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 g_queue_clear_full(&m->codec_handlers_store, __codec_handler_free); +#endif }