forked from mirrors/linphone-iphone
Fix invalid read in quality reporting if call was already released
This commit is contained in:
parent
b34d5bd992
commit
95c0834556
1 changed files with 1 additions and 1 deletions
|
|
@ -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)){
|
||||
return;
|
||||
}
|
||||
switch (state){
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue