mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Fix memory leak when cloning LinphoneContent objects.
This commit is contained in:
parent
8f3ff2dbd9
commit
0b086009e9
1 changed files with 1 additions and 0 deletions
|
|
@ -33,6 +33,7 @@ static void linphone_content_destroy(LinphoneContent *content) {
|
|||
}
|
||||
|
||||
static void linphone_content_clone(LinphoneContent *obj, const LinphoneContent *ref) {
|
||||
obj->owned_fields = TRUE;
|
||||
linphone_content_set_type(obj, linphone_content_get_type(ref));
|
||||
linphone_content_set_subtype(obj, linphone_content_get_subtype(ref));
|
||||
linphone_content_set_encoding(obj, linphone_content_get_encoding(ref));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue