straighten out various memory ownership issues in the callgraph stuff.