[PATCH] Don't modify memory reference provided by value

Andrew Bartlett abartlet at samba.org
Tue Feb 6 08:45:17 UTC 2018


On Tue, 2018-02-06 at 09:40 +0100, Swen Schillig via samba-technical
wrote:
> Hi
> 
> Please review this very small patch.
> 
> Thanks in advance.

To be clear, what this is doing is just the same as talloc_steal(),
which is widely used elsewhere in the code.  

I don't know if that is what is meant here, or if a memdump is more
appropriate, but wanted to fill in some background.

Andrew Bartlett
-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba




More information about the samba-technical mailing list