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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
8a8b38ae
Commit
8a8b38ae
authored
May 17, 2024
by
Rúben Soares da Silva
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix memory leak related to SLOT.response message
parent
b215a60a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
nfapi/oai_integration/aerial/fapi_vnf_p5.c
nfapi/oai_integration/aerial/fapi_vnf_p5.c
+2
-5
No files found.
nfapi/oai_integration/aerial/fapi_vnf_p5.c
View file @
8a8b38ae
...
...
@@ -752,11 +752,8 @@ int oai_fapi_dl_tti_req(nfapi_nr_dl_tti_request_t *dl_config_req)
int
oai_fapi_send_end_request
(
int
cell
,
uint32_t
frame
,
uint32_t
slot
){
nfapi_vnf_p7_config_t
*
p7_config
=
aerial_vnf
.
p7_vnfs
[
0
].
config
;
nfapi_nr_slot_indication_scf_t
*
nr_slot_resp
=
CALLOC
(
1
,
sizeof
(
*
nr_slot_resp
));
nr_slot_resp
->
header
.
message_id
=
0x8F
;
nr_slot_resp
->
sfn
=
frame
;
nr_slot_resp
->
slot
=
slot
;
int
retval
=
fapi_nr_pack_and_send_p7_message
((
vnf_p7_t
*
)
p7_config
,
&
nr_slot_resp
->
header
);
nfapi_nr_slot_indication_scf_t
nr_slot_resp
=
{.
header
.
message_id
=
0x8F
,
.
sfn
=
frame
,
.
slot
=
slot
};
int
retval
=
fapi_nr_pack_and_send_p7_message
((
vnf_p7_t
*
)
p7_config
,
&
nr_slot_resp
.
header
);
if
(
retval
!=
0
)
{
LOG_E
(
PHY
,
"%s() Problem sending retval:%d
\n
"
,
__FUNCTION__
,
retval
);
}
...
...
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