Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libnice
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
libnice
Commits
8ee6d1bb
Commit
8ee6d1bb
authored
Feb 29, 2016
by
Olivier Crête
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
udp-turn: Fix binding timeout leak
parent
8f1f615e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
socket/udp-turn.c
socket/udp-turn.c
+7
-0
No files found.
socket/udp-turn.c
View file @
8ee6d1bb
...
@@ -1098,6 +1098,13 @@ priv_binding_timeout (gpointer data)
...
@@ -1098,6 +1098,13 @@ priv_binding_timeout (gpointer data)
ChannelBinding
*
b
=
i
->
data
;
ChannelBinding
*
b
=
i
->
data
;
if
(
b
->
timeout_source
==
source
)
{
if
(
b
->
timeout_source
==
source
)
{
b
->
renew
=
TRUE
;
b
->
renew
=
TRUE
;
/* Remove any existing timer */
if
(
b
->
timeout_source
)
{
g_source_destroy
(
b
->
timeout_source
);
g_source_unref
(
b
->
timeout_source
);
}
/* Install timer to expire the permission */
/* Install timer to expire the permission */
b
->
timeout_source
=
priv_timeout_add_with_context
(
priv
,
b
->
timeout_source
=
priv_timeout_add_with_context
(
priv
,
STUN_EXPIRE_TIMEOUT
,
TRUE
,
priv_binding_expired_timeout
,
priv
);
STUN_EXPIRE_TIMEOUT
,
TRUE
,
priv_binding_expired_timeout
,
priv
);
...
...
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