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
0cc1a161
Commit
0cc1a161
authored
Apr 24, 2014
by
Olivier Crête
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
conncheck: Only print debug message if actually freeing something
parent
b572ecc5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
agent/conncheck.c
agent/conncheck.c
+12
-5
No files found.
agent/conncheck.c
View file @
0cc1a161
...
...
@@ -1435,10 +1435,13 @@ void conn_check_free (NiceAgent *agent)
for
(
i
=
agent
->
streams
;
i
;
i
=
i
->
next
)
{
Stream
*
stream
=
i
->
data
;
nice_debug
(
"Agent %p, freeing conncheck_list of stream %p"
,
agent
,
stream
);
if
(
stream
->
conncheck_list
)
{
nice_debug
(
"Agent %p, freeing conncheck_list of stream %p"
,
agent
,
stream
);
g_slist_free_full
(
stream
->
conncheck_list
,
conn_check_free_item
);
stream
->
conncheck_list
=
NULL
;
}
}
conn_check_stop
(
agent
);
}
...
...
@@ -1454,8 +1457,12 @@ void conn_check_prune_stream (NiceAgent *agent, Stream *stream)
GSList
*
i
;
gboolean
keep_going
=
FALSE
;
if
(
stream
->
conncheck_list
)
{
nice_debug
(
"Agent %p, freeing conncheck_list of stream %p"
,
agent
,
stream
);
g_slist_free_full
(
stream
->
conncheck_list
,
conn_check_free_item
);
stream
->
conncheck_list
=
NULL
;
}
for
(
i
=
agent
->
streams
;
i
;
i
=
i
->
next
)
{
Stream
*
s
=
i
->
data
;
...
...
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