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
alex037yang
OpenXG-RAN
Commits
fa7168a0
Commit
fa7168a0
authored
Oct 25, 2018
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FlexRAN enb_config_reply destroy message update
parent
b702b415
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
openair2/ENB_APP/flexran_agent_common.c
openair2/ENB_APP/flexran_agent_common.c
+8
-6
No files found.
openair2/ENB_APP/flexran_agent_common.c
View file @
fa7168a0
...
...
@@ -280,15 +280,17 @@ int flexran_agent_destroy_enb_config_reply(Protocol__FlexranMessage *msg) {
if
(
msg
->
msg_case
!=
PROTOCOL__FLEXRAN_MESSAGE__MSG_ENB_CONFIG_REPLY_MSG
)
goto
error
;
free
(
msg
->
enb_config_reply_msg
->
header
);
int
i
,
j
;
Protocol__FlexEnbConfigReply
*
reply
=
msg
->
enb_config_reply_msg
;
for
(
i
=
0
;
i
<
reply
->
n_cell_config
;
i
++
)
{
free
(
reply
->
cell_config
[
i
]
->
mbsfn_subframe_config_rfoffset
);
free
(
reply
->
cell_config
[
i
]
->
mbsfn_subframe_config_rfperiod
);
free
(
reply
->
cell_config
[
i
]
->
mbsfn_subframe_config_sfalloc
);
for
(
int
i
=
0
;
i
<
reply
->
n_cell_config
;
i
++
)
{
if
(
reply
->
cell_config
[
i
]
->
mbsfn_subframe_config_rfoffset
)
free
(
reply
->
cell_config
[
i
]
->
mbsfn_subframe_config_rfoffset
);
if
(
reply
->
cell_config
[
i
]
->
mbsfn_subframe_config_rfperiod
)
free
(
reply
->
cell_config
[
i
]
->
mbsfn_subframe_config_rfperiod
);
if
(
reply
->
cell_config
[
i
]
->
mbsfn_subframe_config_sfalloc
)
free
(
reply
->
cell_config
[
i
]
->
mbsfn_subframe_config_sfalloc
);
if
(
reply
->
cell_config
[
i
]
->
si_config
!=
NULL
)
{
for
(
j
=
0
;
j
<
reply
->
cell_config
[
i
]
->
si_config
->
n_si_message
;
j
++
){
for
(
int
j
=
0
;
j
<
reply
->
cell_config
[
i
]
->
si_config
->
n_si_message
;
j
++
){
free
(
reply
->
cell_config
[
i
]
->
si_config
->
si_message
[
j
]);
}
free
(
reply
->
cell_config
[
i
]
->
si_config
->
si_message
);
...
...
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