LDB hidden memory leaks

Kamen Mazdrashki kamenim at samba.org
Fri Jul 16 05:41:36 MDT 2010

Hi Tridge,

I've updated the branch according to your comments.

P.S. While updating function prototype, I realized that having
a mechanism like TC(param) or (TALLOC_CTX*)param is not
just visual aid but may be quite useful when copy&paste or
refactoring code also ;)
For full effect we will have to redefine TALLOC_CTX to something like
typedef void* TALLOC_CTX;
typedef struct {int unused;} TALLOC_CTX;
so compiler warns we need to cast.
It should not brake ABI as it stays in ptr_size size :)


More information about the samba-technical mailing list