Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
Michael Black
OpenXG UE
Commits
217093d3
Commit
217093d3
authored
Jun 20, 2019
by
Dong Anyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Coverity Scan CID 340221 (Variable msg going out of scope leaks the storage it points to.)
parent
b6485bef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
openair2/X2AP/x2ap_eNB_handler.c
openair2/X2AP/x2ap_eNB_handler.c
+2
-0
No files found.
openair2/X2AP/x2ap_eNB_handler.c
View file @
217093d3
...
@@ -874,6 +874,7 @@ int x2ap_eNB_handle_ue_context_release (instance_t instance,
...
@@ -874,6 +874,7 @@ int x2ap_eNB_handle_ue_context_release (instance_t instance,
if
(
ue_id
!=
x2ap_find_id_from_id_source
(
&
instance_p
->
id_manager
,
id_source
))
{
if
(
ue_id
!=
x2ap_find_id_from_id_source
(
&
instance_p
->
id_manager
,
id_source
))
{
X2AP_WARN
(
"incorrect/unknown X2AP IDs for UE (old ID %d new ID %d), ignoring UE context release
\n
"
,
X2AP_WARN
(
"incorrect/unknown X2AP IDs for UE (old ID %d new ID %d), ignoring UE context release
\n
"
,
id_source
,
id_target
);
id_source
,
id_target
);
itti_free
(
ITTI_MSG_ORIGIN_ID
(
msg
),
msg
);
return
0
;
return
0
;
}
}
...
@@ -883,6 +884,7 @@ int x2ap_eNB_handle_ue_context_release (instance_t instance,
...
@@ -883,6 +884,7 @@ int x2ap_eNB_handle_ue_context_release (instance_t instance,
id_source
,
id_source
,
x2ap_id_get_id_target
(
&
instance_p
->
id_manager
,
ue_id
),
x2ap_id_get_id_target
(
&
instance_p
->
id_manager
,
ue_id
),
id_target
);
id_target
);
itti_free
(
ITTI_MSG_ORIGIN_ID
(
msg
),
msg
);
return
0
;
return
0
;
}
}
...
...
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