mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 19:49:50 +00:00
msv1_0: Fix the call to ntlm_cleanup().
Signed-off-by: Francois Gouget <fgouget@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7f144646ff
commit
655fd2b267
1 changed files with 2 additions and 1 deletions
|
@ -199,6 +199,7 @@ static NTSTATUS ntlm_check_version( void *args )
|
||||||
char *argv[3], buf[80];
|
char *argv[3], buf[80];
|
||||||
NTSTATUS status = STATUS_DLL_NOT_FOUND;
|
NTSTATUS status = STATUS_DLL_NOT_FOUND;
|
||||||
struct fork_params params = { &ctx, argv };
|
struct fork_params params = { &ctx, argv };
|
||||||
|
struct cleanup_params cleanup_params = { &ctx };
|
||||||
int len;
|
int len;
|
||||||
|
|
||||||
argv[0] = (char *)"ntlm_auth";
|
argv[0] = (char *)"ntlm_auth";
|
||||||
|
@ -231,7 +232,7 @@ static NTSTATUS ntlm_check_version( void *args )
|
||||||
"Make sure that ntlm_auth >= %d.%d.%d is in your path. "
|
"Make sure that ntlm_auth >= %d.%d.%d is in your path. "
|
||||||
"Usually, you can find it in the winbind package of your distribution.\n",
|
"Usually, you can find it in the winbind package of your distribution.\n",
|
||||||
NTLM_AUTH_MAJOR_VERSION, NTLM_AUTH_MINOR_VERSION, NTLM_AUTH_MICRO_VERSION );
|
NTLM_AUTH_MAJOR_VERSION, NTLM_AUTH_MINOR_VERSION, NTLM_AUTH_MICRO_VERSION );
|
||||||
ntlm_cleanup( &ctx );
|
ntlm_cleanup( &cleanup_params );
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue