svn commit: samba r11705 - in branches/SAMBA_4_0/source/libnet:
mimir at samba.org
Tue Nov 15 07:56:40 GMT 2005
On Mon, Nov 14, 2005 at 02:31:28PM -0600, Gerald (Jerry) Carter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> John L.Utz III wrote:
> | Wouldnt it be better if the callee's made the callers do the
> | malloc so that the callers would be less likely to
> | forget to free things?
> Hey John. You should probably read up on talloc to get the
> full picture for Samba's memory management scheme.
Thanks for replying Jerry, I was offline last 24 hours.
John, thanks to talloc used in samba4 all can be cleaned up and freed
when libnet_context is freed (that is assuming you allocate the buffer
using libnet_context as the parent).
Samba Team member http://www.samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20051115/97c1fac4/attachment.bin
More information about the samba-technical