talloc pools -- if someone feels like it, please comment

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu Jan 10 22:12:38 GMT 2008


On Fri, Jan 11, 2008 at 09:04:32AM +1100, Andrew Bartlett wrote:
> I was more meaning:  The call to malloc() and free() for a particular
> bit of memory is not longer directly up the stack from the equivalent
> talloc() call.  You certainly could mark the memory as manually invalid

Ok. True. Did not think about that one. But in case you've
got a segfault, just set the talloc pool size to 0 and
you're back to default behaviour.

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/20080110/b8e8821a/attachment.bin


More information about the samba-technical mailing list