Graph destructor crashing.