ldb_search interface considered harmful

Andrew Bartlett abartlet at samba.org
Tue Jan 31 11:21:52 GMT 2006

On Tue, 2006-01-31 at 16:02 +1100, Andrew Bartlett wrote:
> I've recently been working on the Samba4 code, and the output of
> --leak-report-full in particular.
> The contents of this (for an inactive connection) should be quite small,
> but I initially found a large number of ldb_message structures being
> kept around.  

While I still think the interface needs work, I actually found that a
bug in the index'ed path caused the ldb_message (and not the ldb_result)
to be attached to the ldb.  This cleaned up the remaining cases I found.

Andrew Bartlett

Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20060131/52f15c96/attachment.bin

More information about the samba-technical mailing list