svn commit: samba r12803 - in branches/SAMBA_4_0/source/librpc/ndr: .

Andrew Bartlett abartlet at
Mon Jan 9 22:45:20 GMT 2006

On Mon, 2006-01-09 at 23:40 +0100, Stefan (metze) Metzmacher wrote:
> Hash: SHA1
> Herb Lewis schrieb:
> > Isn't the result of this fix going to be the same? Now you just have a
> > valid pointer to freed memory.
> no, as the ndr->private is talloc'ed with the callers 'mem_ctx' as parent,
> not the ndr structure.

Probably not worth it, but a talloc_steal might make it clearer.  

Andrew Bartlett

Andrew Bartlett                      
Authentication Developer, Samba Team 
Student Network Administrator, Hawker College
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url :

More information about the samba-technical mailing list