summaryrefslogtreecommitdiff
path: root/lib/util/talloc_stack.h
AgeCommit message (Collapse)AuthorFilesLines
2012-07-18talloc_stack: abort in developer me if no stackframe on talloc_tos()Rusty Russell1-1/+2
Don't tolerate leaks in developer mode. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-07-18talloc_stack: always include the location when creating a talloc_stackframe().Rusty Russell1-2/+4
Much better for debugging. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-17talloc: added talloc_stackframe_exists()Andrew Tridgell1-0/+8
This can be used to tell if a talloc stackframe is currently available. Callers can use this to decide if they will use talloc_tos() or instead use an alternative strategy. This gives us a way to safely have calls to talloc_tos() in common code that may end up in external libraries, as long as all talloc_tos() calls in these pieces of common code check first that a stackframe is available.
2011-03-15talloc: use <talloc.h> not "talloc.h"Andrew Tridgell1-1/+1
this ensures we use the right header
2009-10-09Fix builds with external tallocSimo Sorce1-1/+1
Make sure we do not reference our internal talloc directly. Let configure define what talloc.h file to use so that builds that use an extrenal talloc do not include 2 different versions of the talloc header.
2008-10-23Import talloc_stack into util library.Jelmer Vernooij1-0/+56