nr_dlsim allocates memory on every SNR iteration without freeing it. This can lead to memory exhaustion. Fix this by allocating only once and reuse memory. Also, free it before exit.
nr_dlsim allocates memory on every SNR iteration without freeing it. This can lead to memory exhaustion. Fix this by allocating only once and reuse memory. Also, free it before exit.