I dont know why i am getting a segementation fault here
I used the lldb debugger and its saying my segmentation fault is occuring on this line, not sure why. I thought by check to see if the value is not a nullptr then i can continue to deallocate the dynamic memory

2 Replies