tdb_fetch(TDB_CONTEXT, TALLOC_CTX, const char *) ?

Volker Lendecke Volker.Lendecke at SerNet.DE
Sat Jun 4 17:34:49 GMT 2005


Hi!

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?

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/20050604/11c4d251/attachment.bin


More information about the samba-technical mailing list