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
804a4c09
Commit
804a4c09
authored
Oct 26, 2020
by
Olivier Crête
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
component: Fix potential NULL deference
This was introduced recently and flagged by Coverity.
parent
f36cf5b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
agent/component.c
agent/component.c
+2
-1
No files found.
agent/component.c
View file @
804a4c09
...
@@ -197,7 +197,8 @@ nice_component_remove_socket (NiceAgent *agent, NiceComponent *cmp,
...
@@ -197,7 +197,8 @@ nice_component_remove_socket (NiceAgent *agent, NiceComponent *cmp,
conn_check_prune_socket
(
agent
,
stream
,
cmp
,
candidate
->
sockptr
);
conn_check_prune_socket
(
agent
,
stream
,
cmp
,
candidate
->
sockptr
);
nice_component_detach_socket
(
cmp
,
candidate
->
sockptr
);
nice_component_detach_socket
(
cmp
,
candidate
->
sockptr
);
}
}
agent_remove_local_candidate
(
agent
,
stream
,
(
NiceCandidate
*
)
candidate
);
if
(
stream
)
agent_remove_local_candidate
(
agent
,
stream
,
(
NiceCandidate
*
)
candidate
);
nice_candidate_free
((
NiceCandidate
*
)
candidate
);
nice_candidate_free
((
NiceCandidate
*
)
candidate
);
cmp
->
local_candidates
=
g_slist_delete_link
(
cmp
->
local_candidates
,
i
);
cmp
->
local_candidates
=
g_slist_delete_link
(
cmp
->
local_candidates
,
i
);
...
...
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