Correct deallocation of char array after processing it with strsep(). Thus the deallocation was unaligned.