Juan Lang : wintrust/tests: Fix a leak (valgrind).

Alexandre Julliard julliard at winehq.org
Thu Feb 10 11:42:11 CST 2011


Module: wine
Branch: master
Commit: 4325d75d5db32f01f1ca5a784f39e069be2f0040
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4325d75d5db32f01f1ca5a784f39e069be2f0040

Author: Juan Lang <juan.lang at gmail.com>
Date:   Wed Jan 26 08:45:14 2011 -0800

wintrust/tests: Fix a leak (valgrind).

---

 dlls/wintrust/tests/softpub.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/wintrust/tests/softpub.c b/dlls/wintrust/tests/softpub.c
index c602705..0327bf5 100644
--- a/dlls/wintrust/tests/softpub.c
+++ b/dlls/wintrust/tests/softpub.c
@@ -484,6 +484,7 @@ static void testCertTrust(SAFE_PROVIDER_FUNCTIONS *funcs, GUID *actionID)
             CertFreeCertificateContext(cert);
         }
     }
+    funcs->pfnFree(data.padwTrustStepErrors);
 }
 
 static void test_provider_funcs(void)




More information about the wine-cvs mailing list