svn commit: samba r12803 - in
abartlet at samba.org
Mon Jan 9 22:45:20 GMT 2006
On Mon, 2006-01-09 at 23:40 +0100, Stefan (metze) Metzmacher wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> 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 http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Student Network Administrator, Hawker College http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20060110/ecdcce3e/attachment.bin
More information about the samba-technical