svn commit: samba r3872 - in trunk/source/passdb: .

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri Nov 19 20:59:16 GMT 2004


On Fri, Nov 19, 2004 at 02:37:47PM -0800, Richard Sharpe wrote:
> Hmmm, how does that fix a mem leak? You have just moved the code around a
> bit.

If you look at the code itself you will find that the default directly returns
above the ==NULL check. This leaves escape_name allocated.

> Secondly, shouldn't that return status be NT_STATUS_NOMEM or whatever the
> Windows out of mem code is? Actually, NT_STATUS_NO_MEMORY?

True.

Volker


More information about the samba-cvs mailing list