diff --git a/daemon/codec.c b/daemon/codec.c index 6351ab097..131ed26e9 100644 --- a/daemon/codec.c +++ b/daemon/codec.c @@ -713,7 +713,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 }