tdb_fetch(TDB_CONTEXT, TALLOC_CTX, const char *) ?
Volker.Lendecke at SerNet.DE
Sat Jun 4 17:37:21 GMT 2005
On Sat, Jun 04, 2005 at 07:34:49PM +0200, Volker Lendecke wrote:
> In Samba3 we've had a ton of memory leaks due to people not being aware that
> tdb_fetch allocates memory. I'm as guilty as everyone else, right now I'm
> fixing another one. Does anything speak against tdb_fetch taking a TALLOC_CTX
> except that then tdb depends on talloc?
Ok, the subject is wrong. Not a char * but a TDB_DATA...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20050604/b0f1e7b1/attachment.bin
More information about the samba-technical