Fix s2n_override_openssl_random_test cleanup
@@ -90,7 +90,7 @@ int main(int argc, char **argv)
EXPECT_EQUAL(s2n_get_private_random_bytes_used(), 304);
- struct s2n_stuffer dhe_key_stuffer = {{0}};
+ DEFER_CLEANUP(struct s2n_stuffer dhe_key_stuffer = {{0}}, s2n_stuffer_free);
EXPECT_SUCCESS(s2n_stuffer_alloc_ro_from_hex_string(&dhe_key_stuffer, expected_dhe_key_hex));
EXPECT_EQUAL(dhe_key_stuffer.blob.size, 519)
EXPECT_EQUAL(out_blob.size, 519)
