forked from mirrors/linphone-iphone
Free memory allocated by belle_sip_malloc() with belle_sip_free().
This commit is contained in:
parent
12f8197d47
commit
e9ad2787d1
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ void sal_add_presence_info(SalOp *op, belle_sip_message_t *notify, SalPresenceMo
|
|||
belle_sip_header_from_t *from=belle_sip_message_get_header_by_type(notify,belle_sip_header_from_t);
|
||||
contact_info=belle_sip_uri_to_string(belle_sip_header_address_get_uri(BELLE_SIP_HEADER_ADDRESS(from)));
|
||||
op->base.root->callbacks.convert_presence_to_xml_requested(op, presence, contact_info, &content);
|
||||
ms_free(contact_info);
|
||||
belle_sip_free(contact_info);
|
||||
if (content == NULL) return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue