mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Fixed LinphoneContent leak
This commit is contained in:
parent
61b45fd7a4
commit
fd6b049203
1 changed files with 1 additions and 0 deletions
|
|
@ -252,6 +252,7 @@ static LinphoneContent * linphone_content_new_with_body_handler(SalBodyHandler *
|
|||
}
|
||||
|
||||
contents.push_back(*L_GET_CPP_PTR_FROM_C_OBJECT(part_content));
|
||||
linphone_content_unref(part_content);
|
||||
}
|
||||
LinphonePrivate::Content multipartContent = LinphonePrivate::ContentManager::contentListToMultipart(contents);
|
||||
linphone_content_set_string_buffer(content, multipartContent.getBodyAsUtf8String().c_str());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue