svn commit: samba r11705 - in branches/SAMBA_4_0/source/libnet: .

Rafal Szczesniak mimir at
Tue Nov 15 07:56:40 GMT 2005

On Mon, Nov 14, 2005 at 02:31:28PM -0600, Gerald (Jerry) Carter wrote:
> 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).

Rafal Szczesniak
Samba Team member

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url :

More information about the samba-technical mailing list