try free some more.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20817 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -123,6 +123,8 @@ test_parse(void)
|
||||
if (ret)
|
||||
errx(1, "heim_ntlm_encode_type3");
|
||||
|
||||
free(type3.ntlm.data);
|
||||
|
||||
memset(&type3, 0, sizeof(type3));
|
||||
|
||||
ret = heim_ntlm_decode_type3(&data, 1, &type3);
|
||||
@@ -130,6 +132,8 @@ test_parse(void)
|
||||
if (ret)
|
||||
errx(1, "heim_ntlm_encode_type3");
|
||||
|
||||
heim_ntlm_free_type3(&type3);
|
||||
|
||||
/*
|
||||
* NTLMv2
|
||||
*/
|
||||
@@ -184,7 +188,6 @@ test_keys(void)
|
||||
|
||||
heim_ntlm_nt_key(password, &key);
|
||||
|
||||
|
||||
ret = heim_ntlm_calculate_ntlm2(key.data,
|
||||
key.length,
|
||||
username,
|
||||
@@ -217,6 +220,9 @@ test_keys(void)
|
||||
if (memcmp(infotarget.data, infotarget2.data, infotarget.length) != 0)
|
||||
errx(1, "infotarget not the same");
|
||||
|
||||
free(key.data);
|
||||
free(answer.data);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user