is the segfault gone from the memory deallocation?