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
lizhongxiao
OpenXG-RAN
Commits
d6741722
Commit
d6741722
authored
Dec 27, 2022
by
Swetank Srivastava
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
memory leak fix
parent
b5043809
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
openair3/SS/ss_gNB_sys_task.c
openair3/SS/ss_gNB_sys_task.c
+5
-0
No files found.
openair3/SS/ss_gNB_sys_task.c
View file @
d6741722
...
...
@@ -223,6 +223,10 @@ static void ss_task_sys_nr_handle_req(struct NR_SYSTEM_CTRL_REQ *req, ss_nrset_t
p_cellConfig
=
&
req
->
Request
.
v
.
Cell
.
v
.
AddOrReconfigure
;
SS_context
.
maxRefPower
=
p_cellConfig
->
CellConfigCommon
.
v
.
InitialCellPower
.
v
.
MaxReferencePower
;
cellConfig
=
(
CellConfig5GReq_t
*
)
malloc
(
sizeof
(
CellConfig5GReq_t
));
if
(
cellConfig
=
NULL
)
{
AssertFatal
(
cellConfig
!=
NULL
,
"[SYS-GNB] Failed to allocate memory for proxy cell config
\n
"
);
}
cellConfig
->
header
.
preamble
=
0xFEEDC0DE
;
cellConfig
->
header
.
msg_id
=
SS_CELL_CONFIG
;
cellConfig
->
header
.
length
=
sizeof
(
proxy_ss_header_t
);
...
...
@@ -240,6 +244,7 @@ static void ss_task_sys_nr_handle_req(struct NR_SYSTEM_CTRL_REQ *req, ss_nrset_t
cellConfig
->
absoluteFrequencyPointA
);
//send_to_proxy();
sys_5G_send_proxy
((
void
*
)
cellConfig
,
sizeof
(
CellConfig5GReq_t
));
free
(
cellConfig
);
}
}
...
...
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