crypt32: Eliminate a double free in the tests.
authorJuan Lang <juan.lang@gmail.com>
Wed, 4 Nov 2009 01:22:10 +0000 (17:22 -0800)
committerAlexander Morozov <amorozov@etersoft.ru>
Thu, 1 Jul 2010 13:18:08 +0000 (17:18 +0400)
dlls/crypt32/tests/store.c

index 419d2ddf61afb5d4323349deb9fc6875c3181709..5c019faf4028499ac504801e61e8422df486e925 100644 (file)
@@ -2096,7 +2096,6 @@ static void test_I_UpdateStore(void)
     certs = countCertsInStore(store1);
     ok(certs == 0, "Expected 0 certs, got %d\n", certs);
 
-    CertFreeCertificateContext(cert);
     CertCloseStore(store1, 0);
     CertCloseStore(store2, 0);
 }