Commit bab1c652 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

crypt32/tests: Fix memory leak in test.

parent 035c3230
......@@ -237,6 +237,8 @@ static void test_simpleroundtrip(const char *plaintext)
ok(res != 0, "can't unprotect; last error %u\n", GetLastError());
ok(output.cbData == strlen(plaintext), "output wrong length %d for input '%s', wanted %d\n", output.cbData, plaintext, strlen(plaintext));
ok(!memcmp(plaintext, (char *)output.pbData, output.cbData), "output wrong contents for input '%s'\n", plaintext);
LocalFree(output.pbData);
LocalFree(encrypted.pbData);
}
START_TEST(protectdata)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment