[Samba] Possible memory leaks on lookup_sids()?

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri Oct 26 07:40:18 GMT 2007


On Mon, Oct 22, 2007 at 06:28:57PM -0400, simo wrote:
> Li, it seem indeed that we are not freeing the tmp_ctx at the end of the
> function, but I need some time to read that code in detail to make sure
> we are not returning some of that memory to the caller.

I think it is true. We need to free tmp_ctx before
returning. At least this is what it was designed for.

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/20071026/84a984b7/attachment.bin


More information about the samba-technical mailing list