Commit 95c08345 authored by Gautier Pelloux-Prayer's avatar Gautier Pelloux-Prayer
Browse files

Fix invalid read in quality reporting if call was already released

parent b34d5bd9
......@@ -654,7 +654,7 @@ int linphone_reporting_publish_interval_report(LinphoneCall* call) {
void linphone_reporting_call_state_updated(LinphoneCall *call){
LinphoneCallState state=linphone_call_get_state(call);
if (! quality_reporting_enabled(call)){
if (state == LinphoneCallReleased||!quality_reporting_enabled(call)){
switch (state){
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment