forked from mirrors/linphone-iphone
Do not unref const pointer
This commit is contained in:
parent
68136b511d
commit
3a60f1c303
1 changed files with 1 additions and 2 deletions
|
|
@ -1936,10 +1936,9 @@ static int comp_call_state_paused(const LinphoneCall *call, const void *param) {
|
|||
}
|
||||
[self checkLocalNetworkPermission];
|
||||
// For OutgoingCall, show CallOutgoingView
|
||||
LinphoneVideoActivationPolicy *policy = linphone_core_get_video_activation_policy(LC);
|
||||
const LinphoneVideoActivationPolicy *policy = linphone_core_get_video_activation_policy(LC);
|
||||
BOOL initiateVideoCall = linphone_video_activation_policy_get_automatically_initiate(policy);
|
||||
[CallManager.instance startCallWithAddr:iaddr isSas:FALSE isVideo:initiateVideoCall isConference:false];
|
||||
linphone_video_activation_policy_unref(policy);
|
||||
}
|
||||
|
||||
#pragma mark - Misc Functions
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue