[Patches] Preparation for tevent impersonation (part1)

Stefan Metzmacher metze at samba.org
Thu Jun 14 18:54:26 UTC 2018


Hi David,

>> TALLOC_FREE(frame);
>>
>> change in make_simple_acl(). Having said that
>> the stackframe handling in make_simple_acl()
>> was utterly broken before that anyway (it
>> created a new stackframe that was left
>> hanging around on exit from the function).
> 
> Talloc stackframe handling is broken in many of places, unfortunately.
> Continuing to use it for event based async code will only lead to more
> problems in future IMO.

For async code we always have the 'state' variable to use for temporary
memory, so we don't need talloc_stackframes...

metze


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180614/a38d90df/signature.sig>


More information about the samba-technical mailing list