diff --git a/daemon/codec.c b/daemon/codec.c index 1f2b79080..2dab581a1 100644 --- a/daemon/codec.c +++ b/daemon/codec.c @@ -2399,7 +2399,7 @@ static void codec_tracker_destroy(struct codec_tracker **sct) { g_hash_table_destroy((*sct)->clockrates); g_hash_table_destroy((*sct)->touched); g_hash_table_destroy((*sct)->supp_codecs); - g_slice_free1(sizeof(*sct), *sct); + g_slice_free1(sizeof(**sct), *sct); *sct = NULL; } void codec_tracker_init(struct call_media *m) {