source3/passdb/py_passdb.c: don't steal from talloc_stackframe().
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 18 Jul 2012 05:37:28 +0000 (15:07 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 18 Jul 2012 05:37:28 +0000 (15:07 +0930)
commit99272331c60afa900852d996196b434ecd897287
treeb2ad6311ed1dd0a791171c11a181f762dc607d83
parent51ec59db10306fd90211c237fd672acf3ab3304a
source3/passdb/py_passdb.c: don't steal from talloc_stackframe().

If you want a stack-style allocation, use talloc_stackframe().  If you
don't, don't use it.  In particular, talloc_stackframe() here is actually
inside a pool, and stealing from pools is a bad idea.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
source3/passdb/py_passdb.c