Correctly implement phy_free_nr_gNB()

Frees all allocated memory, except for library loading related, and ul
reference signal sequences, which are allocated in static variables
This commit is contained in:
Robert Schmidt
2022-02-21 13:34:40 +01:00
parent 06dd706df7
commit 5794c07c94
8 changed files with 142 additions and 119 deletions
+2
View File
@@ -640,6 +640,8 @@ int main(int argc, char **argv)
reset_DLSCH_struct(gNB, &msgDataTx);
phy_free_nr_gNB(gNB);
for (i = 0; i < 2; i++) {
free(s_re[i]);
free(s_im[i]);