forked from mirrors/linphone-iphone
Fix wrong function call.
This commit is contained in:
parent
e53bd7f811
commit
3c1f7ace33
1 changed files with 1 additions and 1 deletions
|
|
@ -956,7 +956,7 @@ LinphonePresenceActivity * linphone_presence_activity_ref(LinphonePresenceActivi
|
|||
LinphonePresenceActivity * linphone_presence_activity_unref(LinphonePresenceActivity *activity) {
|
||||
activity->refcnt--;
|
||||
if (activity->refcnt == 0) {
|
||||
presence_note_delete(activity);
|
||||
presence_activity_delete(activity);
|
||||
return NULL;
|
||||
}
|
||||
return activity;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue