Commit 710a1cf3 authored by Simon Morlat's avatar Simon Morlat

Fix memory leak.

parent 3208279e
......@@ -53,7 +53,7 @@ LinphoneAddress * linphone_core_manager_resolve(LinphoneCoreManager *mgr, const
linphone_address_set_domain(dest, ipstring);
if (port > 0)
linphone_address_set_port(dest, port);
if (results) belle_sip_object_unref(results);
return dest;
}
......
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