talloc_stack: handle more than one talloc_stackframe_pool()
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 17 Jul 2012 19:25:31 +0000 (04:55 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 17 Jul 2012 19:25:31 +0000 (04:55 +0930)
commit311281c2c550b71ec4d8b2fc7329a1dfe5af82b0
tree6b8de062bb35730e4921593bb5171807d15fde8c
parent4f331872bc783445c709e5fe4846b8687e274953
talloc_stack: handle more than one talloc_stackframe_pool()

The only reason we make one stackframe parent of the next is so we use
our parent's pool.  That doesn't make sense if we're a new pool, and
wouldn't work anyway.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
lib/util/talloc_stack.c