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
zzha zzha
OpenXG-RAN
Commits
99183b17
Commit
99183b17
authored
3 years ago
by
Melissa Elkadi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Freeing memory that wasnt allocated on heap in SA mode
parent
7d6212bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
+9
-7
No files found.
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
View file @
99183b17
...
...
@@ -958,13 +958,15 @@ int nr_ue_dl_indication(nr_downlink_indication_t *dl_info, NR_UL_TIME_ALIGNMENT_
}
//clean up nr_downlink_indication_t *dl_info
if
(
dl_info
->
dci_ind
!=
NULL
){
free
(
dl_info
->
dci_ind
);
dl_info
->
dci_ind
=
NULL
;
}
if
(
dl_info
->
rx_ind
!=
NULL
){
free
(
dl_info
->
rx_ind
);
dl_info
->
rx_ind
=
NULL
;
if
(
get_softmodem_params
()
->
nsa
)
{
if
(
dl_info
->
dci_ind
!=
NULL
)
{
free
(
dl_info
->
dci_ind
);
dl_info
->
dci_ind
=
NULL
;
}
if
(
dl_info
->
rx_ind
!=
NULL
)
{
free
(
dl_info
->
rx_ind
);
dl_info
->
rx_ind
=
NULL
;
}
}
}
return
0
;
...
...
This diff is collapsed.
Click to expand it.
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