diff --git a/res/res_rtp_asterisk.c b/res/res_rtp_asterisk.c index 77eba2138400f232959b3fad4b40d1d604f1d35d..8fc52a0e4b7818966812e5fd930e55c84cf57cfb 100644 --- a/res/res_rtp_asterisk.c +++ b/res/res_rtp_asterisk.c @@ -6153,6 +6153,10 @@ static int ast_rtp_local_bridge(struct ast_rtp_instance *instance0, struct ast_r ao2_lock(instance0); ast_set_flag(rtp, FLAG_NEED_MARKER_BIT | FLAG_REQ_LOCAL_BRIDGE_BIT); + if (rtp->smoother) { + ast_smoother_free(rtp->smoother); + rtp->smoother = NULL; + } ao2_unlock(instance0); return 0;