LDB hidden memory leaks

Andrew Bartlett abartlet at samba.org
Mon Jul 12 16:05:43 MDT 2010


On Mon, 2010-07-12 at 16:56 +0300, Kamen Mazdrashki wrote:

> 
> So, my question is (are):
> 1. what do you thing about enforcing TALLOC_CTX casting to
> be explicit?
> 2. and if everyone agrees it is 'good thing', then is it feasible to
> force
>     callers to explicitly cast pointers to TALLOC_CTX* where used?

TALLOC_CTX is just void * in disguise, so no, it's not possible.

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100713/d808f1cf/attachment.pgp>


More information about the samba-technical mailing list