From a2a84da2528250cedea0cc2fa8188ab47cadec28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sun, 3 Jun 2007 04:43:10 +0000 Subject: [PATCH] free some more memory git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20821 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/ntlm/test_ntlm.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/ntlm/test_ntlm.c b/lib/ntlm/test_ntlm.c index 06df26079..fd2412022 100644 --- a/lib/ntlm/test_ntlm.c +++ b/lib/ntlm/test_ntlm.c @@ -67,6 +67,8 @@ test_parse(void) if (ret) errx(1, "heim_ntlm_encode_type1"); + free(type1.domain); + memset(&type1, 0, sizeof(type1)); ret = heim_ntlm_decode_type1(&data, &type1); @@ -102,6 +104,8 @@ test_parse(void) if (ret) errx(1, "heim_ntlm_decode_type2"); + heim_ntlm_free_type2(&type2); + /* * */