Thank you for the hint. I've overseen that. But beside that there must be another mistake, because it crashes again after that slight change of the code. Douglas Gregor schrieb:
----- 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
Info: http://www.boost.org Wiki: http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl Unsubscribe: mailto:boost-users-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/