• Melissa Elkadi's avatar
    Instead of removing the frees we allocated from heap. · 0fd35a22
    Melissa Elkadi authored
    In SA mode, there were DCI_INDs and RX_INDS that
    were allocated on the stack and were assigned to
    pointers used in the MAC instance. In NSA mode we
    allocated these members on the heap so we free'd
    them once we were done. In SA mode, they were not
    allocated on the heap so this free call caused an
    a free() error. We have now allocated these pointers
    on the heap to avoid this error and ensure the
    pointers are correct.
    0fd35a22
nr_pbch.c 21.5 KB