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
e0acdf6d
Commit
e0acdf6d
authored
Mar 03, 2022
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
missing condition on free nr_mimo_precoding_matrix
parent
c36c8cca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
openair1/PHY/INIT/nr_init.c
openair1/PHY/INIT/nr_init.c
+6
-5
No files found.
openair1/PHY/INIT/nr_init.c
View file @
e0acdf6d
...
...
@@ -710,13 +710,14 @@ void phy_free_nr_gNB(PHY_VARS_gNB *gNB)
const
int
n_buf
=
Prx
*
max_ul_mimo_layers
;
int
max_dl_mimo_layers
=
(
fp
->
nb_antennas_tx
<
NR_MAX_NB_LAYERS
)
?
fp
->
nb_antennas_tx
:
NR_MAX_NB_LAYERS
;
for
(
int
nl
=
0
;
nl
<
max_dl_mimo_layers
;
nl
++
)
{
for
(
int
size
=
0
;
size
<
gNB
->
pmiq_size
[
nl
];
size
++
)
{
free_and_zero
(
gNB
->
nr_mimo_precoding_matrix
[
nl
][
size
]);
if
(
fp
->
nb_antennas_tx
>
1
)
{
for
(
int
nl
=
0
;
nl
<
max_dl_mimo_layers
;
nl
++
)
{
for
(
int
size
=
0
;
size
<
gNB
->
pmiq_size
[
nl
];
size
++
)
free_and_zero
(
gNB
->
nr_mimo_precoding_matrix
[
nl
][
size
]);
free_and_zero
(
gNB
->
nr_mimo_precoding_matrix
[
nl
]);
}
free_and_zero
(
gNB
->
nr_mimo_precoding_matrix
[
nl
]
);
free_and_zero
(
gNB
->
nr_mimo_precoding_matrix
);
}
free_and_zero
(
gNB
->
nr_mimo_precoding_matrix
);
uint32_t
***
pdcch_dmrs
=
gNB
->
nr_gold_pdcch_dmrs
;
for
(
int
slot
=
0
;
slot
<
fp
->
slots_per_frame
;
slot
++
)
{
...
...
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