[LSASRV]
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Thu, 29 May 2014 21:34:35 +0000 (21:34 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Thu, 29 May 2014 21:34:35 +0000 (21:34 +0000)
commitcb2c49a1eaf9672344d75fcd21f7f308d66231a7
tree8488e1d07245fef054e3acc82a1b828217d36b75
parent0d6c552a9dc4a1b546f564cb994a164ff2a49ee9
[LSASRV]
- Just run again the loop if LsarOpenAccount call failed (that also avoids a call to LsarClose on a NULL handle, that is trapped by the kdbg if one enabled "set condition * first always").
- Free the memory and the opened handles before returning in case of failure of LsapAddPrivilegeToTokenPrivileges. Maybe this cleaning step can be done more elegantly.
Eric, can you please review that? It should be good I think.

svn path=/trunk/; revision=63496
reactos/dll/win32/lsasrv/authpackage.c