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
5e5d17b0
Commit
5e5d17b0
authored
Oct 16, 2024
by
Guido Casati
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Free F1 Setup Response in the context where it was allocated
parent
a29cbf05
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
openair2/F1AP/f1ap_du_interface_management.c
openair2/F1AP/f1ap_du_interface_management.c
+2
-0
openair2/LAYER2/NR_MAC_gNB/mac_rrc_dl_handler.c
openair2/LAYER2/NR_MAC_gNB/mac_rrc_dl_handler.c
+0
-2
No files found.
openair2/F1AP/f1ap_du_interface_management.c
View file @
5e5d17b0
...
...
@@ -186,6 +186,8 @@ int DU_handle_F1_SETUP_RESPONSE(instance_t instance, sctp_assoc_t assoc_id, uint
}
LOG_D
(
F1AP
,
"Sending F1AP_SETUP_RESP ITTI message
\n
"
);
f1_setup_response
(
&
resp
);
// free F1AP message after use
free_f1ap_setup_response
(
&
resp
);
return
0
;
}
...
...
openair2/LAYER2/NR_MAC_gNB/mac_rrc_dl_handler.c
View file @
5e5d17b0
...
...
@@ -172,8 +172,6 @@ void f1_setup_response(const f1ap_setup_resp_t *resp)
AssertFatal
(
mac
->
f1_config
.
setup_resp
!=
NULL
,
"out of memory
\n
"
);
// Copy F1AP message
*
mac
->
f1_config
.
setup_resp
=
cp_f1ap_setup_response
(
resp
);
// free F1AP message after copy
free_f1ap_setup_response
(
resp
);
NR_SCHED_UNLOCK
(
&
mac
->
sched_lock
);
// NOTE: Before accepting any UEs, we should initialize the UE states.
...
...
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