wintrust/tests: Fix a memory leak (valgrind)

Bruno Jesus 00cpxxx at gmail.com
Thu May 29 20:03:06 CDT 2014


For bug https://bugs.winehq.org/show_bug.cgi?id=36605
-------------- next part --------------
diff --git a/dlls/wintrust/tests/softpub.c b/dlls/wintrust/tests/softpub.c
index f342936..b1ac8a3 100644
--- a/dlls/wintrust/tests/softpub.c
+++ b/dlls/wintrust/tests/softpub.c
@@ -222,6 +222,7 @@ static void test_utils(SAFE_PROVIDER_FUNCTIONS *funcs)
         }
         else
             skip("CertCreateCertificateContext failed: %08x\n", GetLastError());
+        funcs->pfnFree(data.pasSigners);
     }
 }
 


More information about the wine-patches mailing list