secur32: Clean up the helper in all cases where it was allocated.

This commit is contained in:
Ken Thomases 2011-11-29 19:16:13 -06:00 committed by Alexandre Julliard
parent e39e67ec3d
commit f4ac641af5
1 changed files with 3 additions and 0 deletions

View File

@ -694,7 +694,10 @@ static SECURITY_STATUS SEC_ENTRY ntlm_InitializeSecurityContextW(
lstrcpynA(buffer, want_flags, max_len-1);
if((ret = run_helper(helper, buffer, max_len, &buffer_len))
!= SEC_E_OK)
{
cleanup_helper(helper);
goto isc_end;
}
if(!strncmp(buffer, "BH", 2))
ERR("Helper doesn't understand new command set. Expect more things to fail.\n");
}