talloc_tos() in common code
Stefan (metze) Metzmacher
metze at samba.org
Wed Apr 13 05:35:56 MDT 2011
I wonder why we can't use the talloc_tos() infrastructure in common code?
I know that we can't use talloc_tos() directly, because the stackframe
might not be in place, but I think we could use something like this:
TALLOC_CTX *frame = talloc_stackframe();
some code ...
This way we'll make use of a talloc pool if the caller
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 262 bytes
Desc: OpenPGP digital signature
More information about the samba-technical