tdb_fetch(TDB_CONTEXT, TALLOC_CTX, const char *) ?

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


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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the samba-technical mailing list