svn commit: samba r16711 - in trunk/source/passdb: .

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Jul 3 06:21:34 GMT 2006


On Mon, Jul 03, 2006 at 10:33:07AM +1000, Tim Potter wrote:
> The pidl generated code returns results in a single talloc context but
> the caller is only interested in part of the result.  Cherry picking the
> interesting bits for the caller using talloc_steal() is the nicest way
> to do this without having to copy potentially large amounts of data.

Yes, and here I think this is a valid use of talloc_steal().

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20060703/50b73983/attachment.bin


More information about the samba-technical mailing list