Commit 008892b9 authored by Simon Morlat's avatar Simon Morlat

fix memory leak and compilation issue

parent cceca722
......@@ -380,8 +380,9 @@ static void linphone_core_assign_payload_type_numbers(LinphoneCore *lc, bctbx_li
if (t140 && red) {
int t140_payload_type_number = payload_type_get_number(t140);
const char *red_fmtp = ms_strdup_printf("%i/%i/%i", t140_payload_type_number, t140_payload_type_number, t140_payload_type_number);
char *red_fmtp = ms_strdup_printf("%i/%i/%i", t140_payload_type_number, t140_payload_type_number, t140_payload_type_number);
payload_type_set_recv_fmtp(red, red_fmtp);
ms_free(red_fmtp);
}
}
......
......@@ -102,7 +102,7 @@ void linphone_vcard_remove_sip_address(LinphoneVcard *vCard, const char *sip_add
void linphone_vcard_edit_main_sip_address(LinphoneVcard *vCard, const char *sip_address) {
}
bctbx_list_t* linphone_vcard_get_sip_addresses(const LinphoneVcard *vCard) {
const bctbx_list_t* linphone_vcard_get_sip_addresses(LinphoneVcard *vCard) {
return NULL;
}
......
mediastreamer2 @ 969d035c
Subproject commit 079df9659a25a5a06c85e6a64bf226bc4fa7d91b
Subproject commit 969d035c1cfe209a5aef5a9ccefac5b3ee61fe68
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