Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
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
wangwenhui
OpenXG-RAN
Commits
db3cfa8b
Commit
db3cfa8b
authored
Jun 20, 2019
by
Dong Anyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Coverity Scan CID 300387 (Using freed pointer req_msg.)
parent
42e3a139
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
openair2/ENB_APP/flexran_agent_handler.c
openair2/ENB_APP/flexran_agent_handler.c
+7
-4
No files found.
openair2/ENB_APP/flexran_agent_handler.c
View file @
db3cfa8b
...
...
@@ -745,11 +745,14 @@ err_code_t flexran_agent_enable_cont_stats_update(mid_t mod_id,
Protocol__FlexranMessage
*
req_msg
=
NULL
;
flexran_agent_stats_request
(
mod_id
,
xid
,
stats_req
,
&
req_msg
);
stats_context
[
mod_id
].
stats_req
=
req_msg
;
stats_context
[
mod_id
].
prev_stats_reply
=
NULL
;
stats_context
[
mod_id
].
cont_update
=
1
;
stats_context
[
mod_id
].
xid
=
xid
;
if
(
req_msg
!=
NULL
)
{
stats_context
[
mod_id
].
stats_req
=
req_msg
;
stats_context
[
mod_id
].
prev_stats_reply
=
NULL
;
stats_context
[
mod_id
].
cont_update
=
1
;
stats_context
[
mod_id
].
xid
=
xid
;
}
if
(
pthread_mutex_unlock
(
stats_context
[
mod_id
].
mutex
))
{
goto
error
;
...
...
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