Commit f4ac641a authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

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

parent e39e67ec
...@@ -694,7 +694,10 @@ static SECURITY_STATUS SEC_ENTRY ntlm_InitializeSecurityContextW( ...@@ -694,7 +694,10 @@ static SECURITY_STATUS SEC_ENTRY ntlm_InitializeSecurityContextW(
lstrcpynA(buffer, want_flags, max_len-1); lstrcpynA(buffer, want_flags, max_len-1);
if((ret = run_helper(helper, buffer, max_len, &buffer_len)) if((ret = run_helper(helper, buffer, max_len, &buffer_len))
!= SEC_E_OK) != SEC_E_OK)
{
cleanup_helper(helper);
goto isc_end; goto isc_end;
}
if(!strncmp(buffer, "BH", 2)) if(!strncmp(buffer, "BH", 2))
ERR("Helper doesn't understand new command set. Expect more things to fail.\n"); ERR("Helper doesn't understand new command set. Expect more things to fail.\n");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment