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 }