Winbindd Memory Leak

Jeremy Allison jra at samba.org
Wed Oct 3 16:32:02 GMT 2001


On Thu, Oct 04, 2001 at 09:05:56AM +1000, Tim Potter wrote:

> There is a call to lp_talloc_free() in the winbindd main loop
> which should free memory as it is going along.  This only frees
> memory from the global tdb used for parameter strings.  I suspect
> there is another TALLOC_CTX that is being used, probably in the
> rpc code, that is not being freed.  I'm taking a look at it now.

Tim and I just had a chat about this. Winbindd is broken w.r.t.
talloc freeing, and needs to be recoded with talloc_destroy()
calls between RPC calls. Tim is now aware of this and we're on
it.....

Jeremy.




More information about the samba-technical mailing list