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
7ecd593f
Commit
7ecd593f
authored
Mar 18, 2022
by
rmagueta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix memory leaks
parent
f439095c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
openair1/PHY/INIT/nr_init_ue.c
openair1/PHY/INIT/nr_init_ue.c
+5
-1
No files found.
openair1/PHY/INIT/nr_init_ue.c
View file @
7ecd593f
...
...
@@ -639,8 +639,10 @@ void term_nr_ue_signal(PHY_VARS_NR_UE *ue, int nb_connected_gNB)
free_and_zero
(
ue
->
pdcch_vars
[
th_id
][
gNB_id
]);
}
for
(
int
i
=
0
;
i
<
fp
->
nb_antennas_rx
;
i
++
)
{
for
(
int
i
=
0
;
i
<
NR_MAX_NB_PORTS
;
i
++
)
{
free_and_zero
(
ue
->
nr_csi_rs_info
->
csi_rs_generated_signal
[
i
]);
}
for
(
int
i
=
0
;
i
<
fp
->
nb_antennas_rx
;
i
++
)
{
free_and_zero
(
ue
->
nr_csi_rs_info
->
csi_rs_received_signal
[
i
]);
for
(
int
j
=
0
;
j
<
NR_MAX_NB_PORTS
;
j
++
)
{
free_and_zero
(
ue
->
nr_csi_rs_info
->
csi_rs_ls_estimated_channel
[
i
][
j
]);
...
...
@@ -679,6 +681,8 @@ void term_nr_ue_signal(PHY_VARS_NR_UE *ue, int nb_connected_gNB)
free_and_zero
(
ue
->
nr_srs_info
->
srs_estimated_channel_time_shifted
);
free_and_zero
(
ue
->
nr_srs_info
);
free_and_zero
(
ue
->
csiim_vars
[
gNB_id
]);
free_and_zero
(
ue
->
csirs_vars
[
gNB_id
]);
free_and_zero
(
ue
->
srs_vars
[
gNB_id
]);
free_and_zero
(
ue
->
pbch_vars
[
gNB_id
]);
...
...
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