TESTS: Fix memory leak in the VERIFY16 Mismatch test

This commit is contained in:
Ronnie Sahlberg
2013-08-04 14:07:06 -07:00
parent 4ccfe10a70
commit 7772b9fafd

View File

@@ -30,7 +30,7 @@ void
test_verify16_mismatch(void)
{
int i, ret;
unsigned char *buf = malloc(256 * block_size);
unsigned char *buf = alloca(256 * block_size);
logging(LOG_VERBOSE, LOG_BLANK_LINE);
logging(LOG_VERBOSE, "Test VERIFY16 for blocks 1-255");