diff --git a/coreapi/private.h b/coreapi/private.h index 94605e506..efc622b31 100644 --- a/coreapi/private.h +++ b/coreapi/private.h @@ -812,6 +812,7 @@ void linphone_configure_op(LinphoneCore *lc, SalOp *op, const LinphoneAddress *d void linphone_call_create_op(LinphoneCall *call); int linphone_call_prepare_ice(LinphoneCall *call, bool_t incoming_offer); void linphone_core_notify_info_message(LinphoneCore* lc,SalOp *op, const SalBody *body); +void linphone_content_uninit(LinphoneContent * obj); LinphoneContent *linphone_content_copy_from_sal_body(LinphoneContent *obj, const SalBody *ref); SalBody *sal_body_from_content(SalBody *body, const LinphoneContent *lc); SalReason linphone_reason_to_sal(LinphoneReason reason); diff --git a/coreapi/quality_reporting.c b/coreapi/quality_reporting.c index 58727acb7..075f9ebe1 100644 --- a/coreapi/quality_reporting.c +++ b/coreapi/quality_reporting.c @@ -40,11 +40,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // For codecs that are able to change sample rates, the lowest and highest sample rates MUST be reported (e.g., 8000;16000). - // remote: session desc null parce que linphone_call_get_remote_params le remplit pas - // range 0 - 255 au lieu de 0 - 5 metrics->quality_estimates.rcq, metrics->quality_estimates.moslq, metrics->quality_estimates.moscq); // abstraction audio video - // valgrind --leakcheck=full // tests liblinphonetester // à voir ++ : // video : que se passe t-il si on arrete / resume la vidéo (new stream) @@ -254,6 +251,8 @@ static void reporting_publish(LinphoneCall* call, reporting_session_report_t * r } else { ms_warning("Asked to submit reporting statistics but no collector address found"); } + + linphone_content_uninit(&content); }