bcrypt/tests: Don't allocate inside todo_wine and free outside of it.

Fixes a warning on GCC 13.
This commit is contained in:
Alex Henrie 2023-06-01 23:02:53 -06:00 committed by Alexandre Julliard
parent 870a9fcb4c
commit 36cf952664

View file

@ -2492,8 +2492,8 @@ static void test_rsa_encrypt(void)
decrypted = malloc(decrypted_size);
BCryptDecrypt(key, encrypted_a, encrypted_size, &oaep_pad, NULL, 0, decrypted, decrypted_size, &decrypted_size, BCRYPT_PAD_OAEP);
ok(!memcmp(decrypted, input, sizeof(input)), "Decrypted output it's not what expected\n");
}
free(decrypted);
}
free(encrypted_a);
free(encrypted_b);