Fix error from unallocated memory for laser range data