$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Douglas Gregor (gregod_at_[hidden])
Date: 2003-08-05 00:20:08
----- Original Message -----
From: "Stephan Höfer" <yg-boost-users_at_[hidden]>
> 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