Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
11482969
Commit
11482969
authored
Oct 26, 2015
by
Gautier Pelloux-Prayer
Committed by
Ghislain MARY
Oct 27, 2015
Browse files
xmlrpc.c: fix invalid unref operation
parent
bd110c2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
coreapi/xmlrpc.c
View file @
11482969
...
...
@@ -405,12 +405,12 @@ void linphone_xml_rpc_session_send_request(LinphoneXmlRpcSession *session, Linph
uri
=
belle_generic_uri_parse
(
session
->
url
);
if
(
!
uri
)
{
ms_error
(
"Could not send request, URL %s is invalid"
,
session
->
url
);
belle_sip_object_unref
(
uri
);
process_io_error_from_post_xml_rpc_request
(
request
,
NULL
);
return
;
}
req
=
belle_http_request_create
(
"POST"
,
uri
,
belle_sip_header_content_type_create
(
"text"
,
"xml"
),
NULL
);
if
(
!
req
)
{
belle_sip_object_unref
(
uri
);
process_io_error_from_post_xml_rpc_request
(
request
,
NULL
);
}
content
=
linphone_content_new
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment