
5 Aug
2003
5 Aug
'03
5:20 a.m.
----- Original Message -----
From: "Stephan Höfer"
Graph tSubGraph = g.create_subgraph();
Ah ha! You want: Graph& tSubGraph = g.create_subgraph(); The root graph actually allocates a new child in its own memory space in create_subgraph(), and then gives you a reference to the subgraph. What's happening here is that subgraph is getting double-freed. Yes, we should do something to protect against this. Doug