Bugfix segmentation fault in dlsim for missing memory allocation

This commit is contained in:
Guido Casati
2019-12-06 10:46:51 +01:00
committed by cig
parent d34d269d70
commit 030fc5a2f5
+1
View File
@@ -552,6 +552,7 @@ int main(int argc, char **argv)
nr_gold_pdcch(UE,0,2);
RC.nb_nr_macrlc_inst = 1;
RC.nb_nr_mac_CC = (int*)malloc(RC.nb_nr_macrlc_inst*sizeof(int));
mac_top_init_gNB();
gNB_mac = RC.nrmac[0];