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
belle-sip
Commits
3de689b9
Commit
3de689b9
authored
Oct 24, 2016
by
Simon Morlat
Browse files
fix potential issue
parent
f924f1fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/transports/udp_listeningpoint.c
src/transports/udp_listeningpoint.c
+2
-1
No files found.
src/transports/udp_listeningpoint.c
View file @
3de689b9
...
...
@@ -26,11 +26,12 @@ struct belle_sip_udp_listening_point{
static
void
belle_sip_udp_listening_point_uninit
(
belle_sip_udp_listening_point_t
*
lp
){
if
(
lp
->
sock
!=-
1
)
belle_sip_close_socket
(
lp
->
sock
);
if
(
lp
->
source
)
{
belle_sip_main_loop_remove_source
(
lp
->
base
.
stack
->
ml
,
lp
->
source
);
belle_sip_object_unref
(
lp
->
source
);
lp
->
source
=
NULL
;
}
if
(
lp
->
sock
!=-
1
)
belle_sip_close_socket
(
lp
->
sock
);
}
static
belle_sip_channel_t
*
udp_create_channel
(
belle_sip_listening_point_t
*
lp
,
const
belle_sip_hop_t
*
hop
){
...
...
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