[PATCH] Fix a couple of memory leaks in winbindd

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri Sep 5 12:18:36 GMT 2008


On Thu, Sep 04, 2008 at 05:54:33PM -0700, Qiao Yang wrote:
> There are a couple of memory leaks in winbindd which happen in some error
> conditions. Attached are the two patch files:

Thanks!

> 1. request.extra_data is not freed if there is no extra_data in response or
> when there is some error happens in processing. This patch will free the
> buffer right after processing a request before sending back a response.

Pushed to all branches.

> 2. When connection to DC fails, it fails to destroy kerberos ticket cache in
> memory.

I'm not sure about this one. Do we want this? Does this
really leak in the long run, or is the cache re-used once we
retry the connection?

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/20080905/fd0551f4/attachment.bin


More information about the samba-technical mailing list