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:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user