Fixed leak

This commit is contained in:
Sylvain Berfini 2018-03-21 14:29:27 +01:00
parent 8a30c727db
commit b19c228fe4

View file

@ -283,7 +283,7 @@ LinphoneContent * linphone_content_new(void) {
}
LinphoneContent * linphone_content_copy(const LinphoneContent *ref) {
return (LinphoneContent *)belle_sip_object_ref(belle_sip_object_clone(BELLE_SIP_OBJECT(ref)));
return (LinphoneContent *)(belle_sip_object_clone(BELLE_SIP_OBJECT(ref)));
}
LinphoneContent * linphone_core_create_content(LinphoneCore *lc) {