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
a772400f
Commit
a772400f
authored
Apr 04, 2022
by
rmagueta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix memory leak
parent
2d434033
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
openair1/PHY/INIT/nr_init.c
openair1/PHY/INIT/nr_init.c
+5
-4
No files found.
openair1/PHY/INIT/nr_init.c
View file @
a772400f
...
...
@@ -758,13 +758,14 @@ void phy_free_nr_gNB(PHY_VARS_gNB *gNB)
}
free_and_zero
(
pusch_dmrs
);
uint32_t
***
csi_rs
=
gNB
->
nr_csi_rs_info
->
nr_gold_csi_rs
;
uint32_t
***
nr_gold_
csi_rs
=
gNB
->
nr_csi_rs_info
->
nr_gold_csi_rs
;
for
(
int
slot
=
0
;
slot
<
fp
->
slots_per_frame
;
slot
++
)
{
for
(
int
symb
=
0
;
symb
<
fp
->
symbols_per_slot
;
symb
++
)
free_and_zero
(
csi_rs
[
slot
][
symb
]);
free_and_zero
(
csi_rs
[
slot
]);
free_and_zero
(
nr_gold_
csi_rs
[
slot
][
symb
]);
free_and_zero
(
nr_gold_
csi_rs
[
slot
]);
}
free_and_zero
(
csi_rs
);
free_and_zero
(
nr_gold_csi_rs
);
free_and_zero
(
gNB
->
nr_csi_rs_info
);
for
(
int
id
=
0
;
id
<
NUMBER_OF_NR_SRS_MAX
;
id
++
)
{
for
(
int
i
=
0
;
i
<
Prx
;
i
++
){
...
...
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