Commit 8b526c3c authored by Robert Schmidt's avatar Robert Schmidt

Address review comment

parent 1858418f
......@@ -1944,7 +1944,7 @@ void create_nr_list(NR_list_t *list, int len)
list->head = -1;
list->next = malloc(len * sizeof(*list->next));
LOG_W(NR_MAC, "NR list->next %p\n", list->next);
AssertFatal(list->next, "cannot calloc() memory for NR_list_t->next\n");
AssertFatal(list->next, "cannot malloc() memory for NR_list_t->next\n");
for (int i = 0; i < len; ++i)
list->next[i] = -1;
list->tail = -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment