diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index ec7f6aaaa3..1a5af93e07 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -4548,7 +4548,7 @@ SWITCH_STANDARD_APP(conference_function) conference_del_member(member.conference, &member); /* Put the original codec back */ - switch_core_session_set_read_codec(member.session, read_codec); + switch_core_session_set_read_codec(member.session, NULL); /* Clean Up. codec_done(X): is for error situations after the codecs were setup and done: is for situations before */ codec_done1: